From 205d48e9480e3a60f2bf1094f67d837f1b44aea5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 29 Jan 2017 14:57:33 +0100 Subject: *: add comment about APPLET_ODDNAME format It confused me more than once Signed-off-by: Denys Vlasenko --- coreutils/expand.c | 1 + coreutils/who.c | 1 + 2 files changed, 2 insertions(+) (limited to 'coreutils') diff --git a/coreutils/expand.c b/coreutils/expand.c index 63b682330..9ce86ebff 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c @@ -43,6 +43,7 @@ //config: depends on UNEXPAND && LONG_OPTS //applet:IF_EXPAND(APPLET(expand, BB_DIR_USR_BIN, BB_SUID_DROP)) +// APPLET_ODDNAME:name main location suid_type help //applet:IF_UNEXPAND(APPLET_ODDNAME(unexpand, expand, BB_DIR_USR_BIN, BB_SUID_DROP, unexpand)) //kbuild:lib-$(CONFIG_EXPAND) += expand.o diff --git a/coreutils/who.c b/coreutils/who.c index ac19dc720..e6179bb00 100644 --- a/coreutils/who.c +++ b/coreutils/who.c @@ -30,6 +30,7 @@ //config: help //config: Print users currently logged on. +// APPLET_ODDNAME:name main location suid_type help //applet:IF_USERS(APPLET_ODDNAME(users, who, BB_DIR_USR_BIN, BB_SUID_DROP, users)) //applet:IF_WHO(APPLET(who, BB_DIR_USR_BIN, BB_SUID_DROP)) -- cgit v1.2.3