summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-01-29 14:57:33 +0100
committerDenys Vlasenko2017-01-29 14:57:33 +0100
commit205d48e9480e3a60f2bf1094f67d837f1b44aea5 (patch)
treed395165adcaa9f2cb03372f126a38111c931dcbe /shell/hush.c
parentb4b12bf2344148976d1cd0f17bca0c0fbf7a364c (diff)
downloadbusybox-205d48e9480e3a60f2bf1094f67d837f1b44aea5.zip
busybox-205d48e9480e3a60f2bf1094f67d837f1b44aea5.tar.gz
*: add comment about APPLET_ODDNAME format
It confused me more than once Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index d90c148..4123cc1 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -277,8 +277,9 @@
//config: msh is deprecated and will be removed, please migrate to hush.
//applet:IF_HUSH(APPLET(hush, BB_DIR_BIN, BB_SUID_DROP))
-//applet:IF_MSH(APPLET_ODDNAME(msh, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
-//applet:IF_SH_IS_HUSH(APPLET_ODDNAME(sh, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
+// APPLET_ODDNAME:name main location suid_type help
+//applet:IF_MSH( APPLET_ODDNAME(msh, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
+//applet:IF_SH_IS_HUSH( APPLET_ODDNAME(sh, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
//applet:IF_BASH_IS_HUSH(APPLET_ODDNAME(bash, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
//kbuild:lib-$(CONFIG_HUSH) += hush.o match.o shell_common.o