diff options
author | Denys Vlasenko | 2021-10-13 11:15:52 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-10-13 11:25:42 +0200 |
commit | aaf3d5ba74c5da97ff80b61f30cb8dd225d39096 (patch) | |
tree | b2f6767b5cf374ea7f4cd8abdac8984fa06e7eb1 /shell | |
parent | 62f1eed1e1916afbff8f9ce3f820626348e8b867 (diff) | |
download | busybox-aaf3d5ba74c5da97ff80b61f30cb8dd225d39096.zip busybox-aaf3d5ba74c5da97ff80b61f30cb8dd225d39096.tar.gz |
shell: tweak --help
Even though formally it is -s [ARGS], "sh -s" without ARGS
is the same as just "sh". And we are already over 80 chars wide
for ash --help, so make it shorter.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 | ||||
-rw-r--r-- | shell/hush.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index 1982a24..8276438 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -14455,7 +14455,7 @@ init(void) //usage:#define ash_trivial_usage -//usage: "[-il] [-|+Cabefmnuvx] [-|+o OPT]... [-c 'SCRIPT' [ARG0 ARGS] | FILE [ARGS] | -s [ARGS]]" +//usage: "[-il] [-|+Cabefmnuvx] [-|+o OPT]... [-c 'SCRIPT' [ARG0 ARGS] | FILE ARGS | -s ARGS]" //////// comes from ^^^^^^^^^^optletters //usage:#define ash_full_usage "\n\n" //usage: "Unix shell interpreter" diff --git a/shell/hush.c b/shell/hush.c index 3a17f5b..6a27b16 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -339,7 +339,7 @@ * therefore we don't show them either. */ //usage:#define hush_trivial_usage -//usage: "[-enxl] [-c 'SCRIPT' [ARG0 ARGS] | FILE [ARGS] | -s [ARGS]]" +//usage: "[-enxl] [-c 'SCRIPT' [ARG0 ARGS] | FILE ARGS | -s ARGS]" //usage:#define hush_full_usage "\n\n" //usage: "Unix shell interpreter" |