aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2010-11-28 01:54:39 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-11-28 01:54:39 +0100
commit89ca2f99a20e78f392fb95d52d62cb32925bc9b2 (patch)
treee4efbb3ca6d6a7c6e4c9c5cef5fb229111a46ee0 /shell
parentfe9403ad17d6cac5984fcb9b9e18ed755898afff (diff)
downloadbusybox-89ca2f99a20e78f392fb95d52d62cb32925bc9b2.tar.gz
hush: display useful help text
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 26a50744e..a710f7cd9 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -245,9 +245,15 @@
//config: msh is deprecated and will be removed, please migrate to hush.
//config:
-//usage:#define hush_trivial_usage NOUSAGE_STR
+/* -i (interactive) and -s (read stdin) are also accepted,
+ * but currently do nothing, therefore aren't shown in help.
+ * NOMMU-specific options are not meant to be used by users,
+ * therefore we don't show them either.
+ */
+//usage:#define hush_trivial_usage
+//usage: "[-nx] [-c SCRIPT]"
//usage:#define hush_full_usage ""
-//usage:#define msh_trivial_usage NOUSAGE_STR
+//usage:#define msh_trivial_usage hush_trivial_usage
//usage:#define msh_full_usage ""
//usage:#define sh_trivial_usage NOUSAGE_STR
//usage:#define sh_full_usage ""