diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-15 10:00:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-15 10:00:18 +0200 |
commit | 1f60d88cf6f5ad3efcad6e7ef1501ce334046e40 (patch) | |
tree | ab2e33cf596b08a9c804714f9b55afb787f932d1 | |
parent | ebe8c14d34d3f6957b4e44967c9089b84e144ddf (diff) | |
download | busybox-w32-1f60d88cf6f5ad3efcad6e7ef1501ce334046e40.tar.gz busybox-w32-1f60d88cf6f5ad3efcad6e7ef1501ce334046e40.tar.bz2 busybox-w32-1f60d88cf6f5ad3efcad6e7ef1501ce334046e40.zip |
*: more --help tweaks
function old new delta
packed_usage 33552 33541 -11
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | archival/unzip.c | 2 | ||||
-rw-r--r-- | coreutils/who.c | 2 | ||||
-rw-r--r-- | loginutils/su.c | 2 | ||||
-rw-r--r-- | miscutils/bc.c | 2 | ||||
-rw-r--r-- | miscutils/chat.c | 2 | ||||
-rw-r--r-- | miscutils/ubi_tools.c | 2 | ||||
-rw-r--r-- | procps/sysctl.c | 4 | ||||
-rw-r--r-- | shell/ash.c | 2 | ||||
-rw-r--r-- | shell/hush.c | 2 | ||||
-rw-r--r-- | util-linux/renice.c | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/archival/unzip.c b/archival/unzip.c index fcdda6dfa..fc92ac661 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -56,7 +56,7 @@ | |||
56 | //kbuild:lib-$(CONFIG_UNZIP) += unzip.o | 56 | //kbuild:lib-$(CONFIG_UNZIP) += unzip.o |
57 | 57 | ||
58 | //usage:#define unzip_trivial_usage | 58 | //usage:#define unzip_trivial_usage |
59 | //usage: "[-lnojpq] FILE[.zip] [FILE]... [-x FILE...] [-d DIR]" | 59 | //usage: "[-lnojpq] FILE[.zip] [FILE]... [-x FILE]... [-d DIR]" |
60 | //usage:#define unzip_full_usage "\n\n" | 60 | //usage:#define unzip_full_usage "\n\n" |
61 | //usage: "Extract FILEs from ZIP archive\n" | 61 | //usage: "Extract FILEs from ZIP archive\n" |
62 | //usage: "\n -l List contents (with -q for short form)" | 62 | //usage: "\n -l List contents (with -q for short form)" |
diff --git a/coreutils/who.c b/coreutils/who.c index be9c3ccca..3725d77f5 100644 --- a/coreutils/who.c +++ b/coreutils/who.c | |||
@@ -78,7 +78,7 @@ | |||
78 | // root pts/1 Mon13 3:24m 1:01 0.01s w | 78 | // root pts/1 Mon13 3:24m 1:01 0.01s w |
79 | 79 | ||
80 | //usage:#define who_trivial_usage | 80 | //usage:#define who_trivial_usage |
81 | //usage: "[-a]" | 81 | //usage: "[-aH]" |
82 | //usage:#define who_full_usage "\n\n" | 82 | //usage:#define who_full_usage "\n\n" |
83 | //usage: "Show who is logged on\n" | 83 | //usage: "Show who is logged on\n" |
84 | //usage: "\n -a Show all" | 84 | //usage: "\n -a Show all" |
diff --git a/loginutils/su.c b/loginutils/su.c index 784a53552..e1db7590f 100644 --- a/loginutils/su.c +++ b/loginutils/su.c | |||
@@ -35,7 +35,7 @@ | |||
35 | //kbuild:lib-$(CONFIG_SU) += su.o | 35 | //kbuild:lib-$(CONFIG_SU) += su.o |
36 | 36 | ||
37 | //usage:#define su_trivial_usage | 37 | //usage:#define su_trivial_usage |
38 | //usage: "[-lmp] [-] [-s SH] [USER [SCRIPT ARGS / -c 'CMD' ARG0 ARGS]]" | 38 | //usage: "[-lmp] [-s SH] [-] [USER [FILE ARGS | -c 'CMD' [ARG0 ARGS]]]" |
39 | //usage:#define su_full_usage "\n\n" | 39 | //usage:#define su_full_usage "\n\n" |
40 | //usage: "Run shell under USER (by default, root)\n" | 40 | //usage: "Run shell under USER (by default, root)\n" |
41 | //usage: "\n -,-l Clear environment, go to home dir, run shell as login shell" | 41 | //usage: "\n -,-l Clear environment, go to home dir, run shell as login shell" |
diff --git a/miscutils/bc.c b/miscutils/bc.c index a5d8734b3..f9b08b01e 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
@@ -108,7 +108,7 @@ | |||
108 | 108 | ||
109 | //See www.gnu.org/software/bc/manual/bc.html | 109 | //See www.gnu.org/software/bc/manual/bc.html |
110 | //usage:#define bc_trivial_usage | 110 | //usage:#define bc_trivial_usage |
111 | //usage: "[-sqlw] [FILE...]" | 111 | //usage: "[-sqlw] [FILE]..." |
112 | //usage: | 112 | //usage: |
113 | //usage:#define bc_full_usage "\n" | 113 | //usage:#define bc_full_usage "\n" |
114 | //usage: "\nArbitrary precision calculator" | 114 | //usage: "\nArbitrary precision calculator" |
diff --git a/miscutils/chat.c b/miscutils/chat.c index 86a114df6..f9e12a4ac 100644 --- a/miscutils/chat.c +++ b/miscutils/chat.c | |||
@@ -79,7 +79,7 @@ | |||
79 | //kbuild:lib-$(CONFIG_CHAT) += chat.o | 79 | //kbuild:lib-$(CONFIG_CHAT) += chat.o |
80 | 80 | ||
81 | //usage:#define chat_trivial_usage | 81 | //usage:#define chat_trivial_usage |
82 | //usage: "EXPECT [SEND [EXPECT [SEND...]]]" | 82 | //usage: "EXPECT [SEND [EXPECT [SEND]]...]" |
83 | //usage:#define chat_full_usage "\n\n" | 83 | //usage:#define chat_full_usage "\n\n" |
84 | //usage: "Useful for interacting with a modem connected to stdin/stdout.\n" | 84 | //usage: "Useful for interacting with a modem connected to stdin/stdout.\n" |
85 | //usage: "A script consists of \"expect-send\" argument pairs.\n" | 85 | //usage: "A script consists of \"expect-send\" argument pairs.\n" |
diff --git a/miscutils/ubi_tools.c b/miscutils/ubi_tools.c index 69ead7a13..6d49f61d9 100644 --- a/miscutils/ubi_tools.c +++ b/miscutils/ubi_tools.c | |||
@@ -251,7 +251,7 @@ int ubi_tools_main(int argc UNUSED_PARAM, char **argv) | |||
251 | } else | 251 | } else |
252 | 252 | ||
253 | //usage:#define ubirmvol_trivial_usage | 253 | //usage:#define ubirmvol_trivial_usage |
254 | //usage: "-n VOLID / -N VOLNAME UBI_DEVICE" | 254 | //usage: "-n VOLID | -N VOLNAME UBI_DEVICE" |
255 | //usage:#define ubirmvol_full_usage "\n\n" | 255 | //usage:#define ubirmvol_full_usage "\n\n" |
256 | //usage: "Remove UBI volume\n" | 256 | //usage: "Remove UBI volume\n" |
257 | //usage: "\n -n VOLID Volume ID" | 257 | //usage: "\n -n VOLID Volume ID" |
diff --git a/procps/sysctl.c b/procps/sysctl.c index e16b119e9..40afa0c90 100644 --- a/procps/sysctl.c +++ b/procps/sysctl.c | |||
@@ -21,16 +21,16 @@ | |||
21 | //kbuild:lib-$(CONFIG_BB_SYSCTL) += sysctl.o | 21 | //kbuild:lib-$(CONFIG_BB_SYSCTL) += sysctl.o |
22 | 22 | ||
23 | //usage:#define sysctl_trivial_usage | 23 | //usage:#define sysctl_trivial_usage |
24 | //usage: "-p [-enq] [FILE...] / [-enqaw] [KEY[=VALUE]]..." | 24 | //usage: "[-enq] { -a | -p [FILE]... | [-w] [KEY[=VALUE]]... }" |
25 | //usage:#define sysctl_full_usage "\n\n" | 25 | //usage:#define sysctl_full_usage "\n\n" |
26 | //usage: "Show/set kernel parameters\n" | 26 | //usage: "Show/set kernel parameters\n" |
27 | //usage: "\n -p Set values from FILEs (default /etc/sysctl.conf)" | ||
28 | //usage: "\n -e Don't warn about unknown keys" | 27 | //usage: "\n -e Don't warn about unknown keys" |
29 | //usage: "\n -n Don't show key names" | 28 | //usage: "\n -n Don't show key names" |
30 | //usage: "\n -q Quiet" | 29 | //usage: "\n -q Quiet" |
31 | //usage: "\n -a Show all values" | 30 | //usage: "\n -a Show all values" |
32 | /* Same as -a, no need to show it */ | 31 | /* Same as -a, no need to show it */ |
33 | /* //usage: "\n -A Show all values in table form" */ | 32 | /* //usage: "\n -A Show all values in table form" */ |
33 | //usage: "\n -p Set values from FILEs (default /etc/sysctl.conf)" | ||
34 | //usage: "\n -w Set values" | 34 | //usage: "\n -w Set values" |
35 | //usage: | 35 | //usage: |
36 | //usage:#define sysctl_example_usage | 36 | //usage:#define sysctl_example_usage |
diff --git a/shell/ash.c b/shell/ash.c index 85d43ca6f..bee81920a 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -14398,7 +14398,7 @@ init(void) | |||
14398 | 14398 | ||
14399 | 14399 | ||
14400 | //usage:#define ash_trivial_usage | 14400 | //usage:#define ash_trivial_usage |
14401 | //usage: "[-il] [-|+Cabefmnuvx] [-|+o OPT]... [-c 'SCRIPT' [ARG0 [ARGS]] | FILE [ARGS] | -s [ARGS]]" | 14401 | //usage: "[-il] [-|+Cabefmnuvx] [-|+o OPT]... [-c 'SCRIPT' [ARG0 ARGS] | FILE [ARGS] | -s [ARGS]]" |
14402 | //////// comes from ^^^^^^^^^^optletters | 14402 | //////// comes from ^^^^^^^^^^optletters |
14403 | //usage:#define ash_full_usage "\n\n" | 14403 | //usage:#define ash_full_usage "\n\n" |
14404 | //usage: "Unix shell interpreter" | 14404 | //usage: "Unix shell interpreter" |
diff --git a/shell/hush.c b/shell/hush.c index 4a049899b..741f93589 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 | ||
diff --git a/util-linux/renice.c b/util-linux/renice.c index a318ffce0..fc72550f4 100644 --- a/util-linux/renice.c +++ b/util-linux/renice.c | |||
@@ -29,7 +29,7 @@ | |||
29 | //kbuild:lib-$(CONFIG_RENICE) += renice.o | 29 | //kbuild:lib-$(CONFIG_RENICE) += renice.o |
30 | 30 | ||
31 | //usage:#define renice_trivial_usage | 31 | //usage:#define renice_trivial_usage |
32 | //usage: "[-n] PRIORITY [[-p | -g | -u] ID...]..." | 32 | //usage: "[-n] PRIORITY [[-p|g|u] ID...]..." |
33 | //usage:#define renice_full_usage "\n\n" | 33 | //usage:#define renice_full_usage "\n\n" |
34 | //usage: "Change scheduling priority of a running process\n" | 34 | //usage: "Change scheduling priority of a running process\n" |
35 | //usage: "\n -n Add PRIORITY to current nice value" | 35 | //usage: "\n -n Add PRIORITY to current nice value" |