aboutsummaryrefslogtreecommitdiff
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)
downloadbusybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.tar.gz
busybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.tar.bz2
busybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.zip
*: 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 @@
43//config: depends on UNEXPAND && LONG_OPTS 43//config: depends on UNEXPAND && LONG_OPTS
44 44
45//applet:IF_EXPAND(APPLET(expand, BB_DIR_USR_BIN, BB_SUID_DROP)) 45//applet:IF_EXPAND(APPLET(expand, BB_DIR_USR_BIN, BB_SUID_DROP))
46// APPLET_ODDNAME:name main location suid_type help
46//applet:IF_UNEXPAND(APPLET_ODDNAME(unexpand, expand, BB_DIR_USR_BIN, BB_SUID_DROP, unexpand)) 47//applet:IF_UNEXPAND(APPLET_ODDNAME(unexpand, expand, BB_DIR_USR_BIN, BB_SUID_DROP, unexpand))
47 48
48//kbuild:lib-$(CONFIG_EXPAND) += expand.o 49//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 @@
30//config: help 30//config: help
31//config: Print users currently logged on. 31//config: Print users currently logged on.
32 32
33// APPLET_ODDNAME:name main location suid_type help
33//applet:IF_USERS(APPLET_ODDNAME(users, who, BB_DIR_USR_BIN, BB_SUID_DROP, users)) 34//applet:IF_USERS(APPLET_ODDNAME(users, who, BB_DIR_USR_BIN, BB_SUID_DROP, users))
34//applet:IF_WHO(APPLET(who, BB_DIR_USR_BIN, BB_SUID_DROP)) 35//applet:IF_WHO(APPLET(who, BB_DIR_USR_BIN, BB_SUID_DROP))
35 36