summaryrefslogtreecommitdiffhomepage
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-29 14:57:33 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-29 14:57:33 +0100
commit205d48e9480e3a60f2bf1094f67d837f1b44aea5 (patch)
treed395165adcaa9f2cb03372f126a38111c931dcbe /coreutils
parentb4b12bf2344148976d1cd0f17bca0c0fbf7a364c (diff)
*: add comment about APPLET_ODDNAME format
It confused me more than once Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/expand.c1
-rw-r--r--coreutils/who.c1
2 files changed, 2 insertions, 0 deletions
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))