aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-10-13 11:15:52 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-10-13 11:25:42 +0200
commitaaf3d5ba74c5da97ff80b61f30cb8dd225d39096 (patch)
treeb2f6767b5cf374ea7f4cd8abdac8984fa06e7eb1
parent62f1eed1e1916afbff8f9ce3f820626348e8b867 (diff)
downloadbusybox-w32-aaf3d5ba74c5da97ff80b61f30cb8dd225d39096.tar.gz
busybox-w32-aaf3d5ba74c5da97ff80b61f30cb8dd225d39096.tar.bz2
busybox-w32-aaf3d5ba74c5da97ff80b61f30cb8dd225d39096.zip
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>
-rw-r--r--shell/ash.c2
-rw-r--r--shell/hush.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 1982a24b7..827643808 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -14455,7 +14455,7 @@ init(void)
14455 14455
14456 14456
14457//usage:#define ash_trivial_usage 14457//usage:#define ash_trivial_usage
14458//usage: "[-il] [-|+Cabefmnuvx] [-|+o OPT]... [-c 'SCRIPT' [ARG0 ARGS] | FILE [ARGS] | -s [ARGS]]" 14458//usage: "[-il] [-|+Cabefmnuvx] [-|+o OPT]... [-c 'SCRIPT' [ARG0 ARGS] | FILE ARGS | -s ARGS]"
14459//////// comes from ^^^^^^^^^^optletters 14459//////// comes from ^^^^^^^^^^optletters
14460//usage:#define ash_full_usage "\n\n" 14460//usage:#define ash_full_usage "\n\n"
14461//usage: "Unix shell interpreter" 14461//usage: "Unix shell interpreter"
diff --git a/shell/hush.c b/shell/hush.c
index 3a17f5bd5..6a27b1634 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -339,7 +339,7 @@
339 * therefore we don't show them either. 339 * therefore we don't show them either.
340 */ 340 */
341//usage:#define hush_trivial_usage 341//usage:#define hush_trivial_usage
342//usage: "[-enxl] [-c 'SCRIPT' [ARG0 ARGS] | FILE [ARGS] | -s [ARGS]]" 342//usage: "[-enxl] [-c 'SCRIPT' [ARG0 ARGS] | FILE ARGS | -s ARGS]"
343//usage:#define hush_full_usage "\n\n" 343//usage:#define hush_full_usage "\n\n"
344//usage: "Unix shell interpreter" 344//usage: "Unix shell interpreter"
345 345