diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-04-14 15:15:45 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-04-14 15:15:45 +0200 |
commit | ba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440 (patch) | |
tree | 2b09bd23498d75f02e7d8bd2d5132e79deb299d7 | |
parent | 93f1255af28c5fca0e704c6096e25fb3a5c09a67 (diff) | |
download | busybox-w32-ba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440.tar.gz busybox-w32-ba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440.tar.bz2 busybox-w32-ba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440.zip |
*: --help text tweaks
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/chgrp.c | 2 | ||||
-rw-r--r-- | coreutils/chown.c | 2 | ||||
-rw-r--r-- | coreutils/cp.c | 2 | ||||
-rw-r--r-- | coreutils/cut.c | 8 | ||||
-rw-r--r-- | coreutils/du.c | 2 | ||||
-rw-r--r-- | coreutils/fold.c | 2 | ||||
-rw-r--r-- | coreutils/head.c | 2 | ||||
-rw-r--r-- | coreutils/mv.c | 2 | ||||
-rw-r--r-- | coreutils/realpath.c | 2 | ||||
-rw-r--r-- | coreutils/tail.c | 2 | ||||
-rw-r--r-- | coreutils/touch.c | 2 | ||||
-rw-r--r-- | coreutils/truncate.c | 4 | ||||
-rw-r--r-- | coreutils/wc.c | 2 | ||||
-rw-r--r-- | miscutils/bc.c | 4 | ||||
-rw-r--r-- | miscutils/watchdog.c | 2 | ||||
-rw-r--r-- | selinux/chcon.c | 2 |
16 files changed, 21 insertions, 21 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index 4da43c45e..0c2060981 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c | |||
@@ -23,7 +23,7 @@ | |||
23 | //usage:#define chgrp_trivial_usage | 23 | //usage:#define chgrp_trivial_usage |
24 | //usage: "[-Rh"IF_DESKTOP("LHPcvf")"]... GROUP FILE..." | 24 | //usage: "[-Rh"IF_DESKTOP("LHPcvf")"]... GROUP FILE..." |
25 | //usage:#define chgrp_full_usage "\n\n" | 25 | //usage:#define chgrp_full_usage "\n\n" |
26 | //usage: "Change the group membership of each FILE to GROUP\n" | 26 | //usage: "Change the group membership of FILEs to GROUP\n" |
27 | //usage: "\n -R Recurse" | 27 | //usage: "\n -R Recurse" |
28 | //usage: "\n -h Affect symlinks instead of symlink targets" | 28 | //usage: "\n -h Affect symlinks instead of symlink targets" |
29 | //usage: IF_DESKTOP( | 29 | //usage: IF_DESKTOP( |
diff --git a/coreutils/chown.c b/coreutils/chown.c index ffccc6cce..170507147 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c | |||
@@ -28,7 +28,7 @@ | |||
28 | //usage:#define chown_trivial_usage | 28 | //usage:#define chown_trivial_usage |
29 | //usage: "[-Rh"IF_DESKTOP("LHPcvf")"]... USER[:[GRP]] FILE..." | 29 | //usage: "[-Rh"IF_DESKTOP("LHPcvf")"]... USER[:[GRP]] FILE..." |
30 | //usage:#define chown_full_usage "\n\n" | 30 | //usage:#define chown_full_usage "\n\n" |
31 | //usage: "Change the owner and/or group of each FILE to USER and/or GRP\n" | 31 | //usage: "Change the owner and/or group of FILEs to USER and/or GRP\n" |
32 | //usage: "\n -R Recurse" | 32 | //usage: "\n -R Recurse" |
33 | //usage: "\n -h Affect symlinks instead of symlink targets" | 33 | //usage: "\n -h Affect symlinks instead of symlink targets" |
34 | //usage: IF_DESKTOP( | 34 | //usage: IF_DESKTOP( |
diff --git a/coreutils/cp.c b/coreutils/cp.c index 9b9b8f7bf..f92ba6886 100644 --- a/coreutils/cp.c +++ b/coreutils/cp.c | |||
@@ -40,7 +40,7 @@ | |||
40 | //usage:#define cp_trivial_usage | 40 | //usage:#define cp_trivial_usage |
41 | //usage: "[-arPLHpfilsTu] SOURCE... DEST" | 41 | //usage: "[-arPLHpfilsTu] SOURCE... DEST" |
42 | //usage:#define cp_full_usage "\n\n" | 42 | //usage:#define cp_full_usage "\n\n" |
43 | //usage: "Copy SOURCE(s) to DEST\n" | 43 | //usage: "Copy SOURCEs to DEST\n" |
44 | //usage: "\n -a Same as -dpR" | 44 | //usage: "\n -a Same as -dpR" |
45 | //usage: IF_SELINUX( | 45 | //usage: IF_SELINUX( |
46 | //usage: "\n -c Preserve security context" | 46 | //usage: "\n -c Preserve security context" |
diff --git a/coreutils/cut.c b/coreutils/cut.c index 16418ff33..5897d82b6 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -22,12 +22,12 @@ | |||
22 | //usage:#define cut_trivial_usage | 22 | //usage:#define cut_trivial_usage |
23 | //usage: "[OPTIONS] [FILE]..." | 23 | //usage: "[OPTIONS] [FILE]..." |
24 | //usage:#define cut_full_usage "\n\n" | 24 | //usage:#define cut_full_usage "\n\n" |
25 | //usage: "Print selected fields from each input FILE to stdout\n" | 25 | //usage: "Print selected fields from FILEs to stdout\n" |
26 | //usage: "\n -b LIST Output only bytes from LIST" | 26 | //usage: "\n -b LIST Output only bytes from LIST" |
27 | //usage: "\n -c LIST Output only characters from LIST" | 27 | //usage: "\n -c LIST Output only characters from LIST" |
28 | //usage: "\n -d CHAR Use CHAR instead of tab as the field delimiter" | 28 | //usage: "\n -d CHAR Use CHAR instead of tab as field delimiter" |
29 | //usage: "\n -s Output only the lines containing delimiter" | 29 | //usage: "\n -s Output only lines containing delimiter" |
30 | //usage: "\n -f N Print only these fields" | 30 | //usage: "\n -f LIST Print only these fields" |
31 | //usage: "\n -n Ignored" | 31 | //usage: "\n -n Ignored" |
32 | //usage: | 32 | //usage: |
33 | //usage:#define cut_example_usage | 33 | //usage:#define cut_example_usage |
diff --git a/coreutils/du.c b/coreutils/du.c index d14d9e4ea..c8aedb6ef 100644 --- a/coreutils/du.c +++ b/coreutils/du.c | |||
@@ -40,7 +40,7 @@ | |||
40 | //usage:#define du_trivial_usage | 40 | //usage:#define du_trivial_usage |
41 | //usage: "[-aHLdclsx" IF_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..." | 41 | //usage: "[-aHLdclsx" IF_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..." |
42 | //usage:#define du_full_usage "\n\n" | 42 | //usage:#define du_full_usage "\n\n" |
43 | //usage: "Summarize disk space used for each FILE and/or directory\n" | 43 | //usage: "Summarize disk space used for FILEs (or directories)\n" |
44 | //usage: "\n -a Show file sizes too" | 44 | //usage: "\n -a Show file sizes too" |
45 | //usage: "\n -L Follow all symlinks" | 45 | //usage: "\n -L Follow all symlinks" |
46 | //usage: "\n -H Follow symlinks on command line" | 46 | //usage: "\n -H Follow symlinks on command line" |
diff --git a/coreutils/fold.c b/coreutils/fold.c index 1e26dde0c..98c3b1491 100644 --- a/coreutils/fold.c +++ b/coreutils/fold.c | |||
@@ -23,7 +23,7 @@ | |||
23 | //usage:#define fold_trivial_usage | 23 | //usage:#define fold_trivial_usage |
24 | //usage: "[-bs] [-w WIDTH] [FILE]..." | 24 | //usage: "[-bs] [-w WIDTH] [FILE]..." |
25 | //usage:#define fold_full_usage "\n\n" | 25 | //usage:#define fold_full_usage "\n\n" |
26 | //usage: "Wrap input lines in each FILE (or stdin), writing to stdout\n" | 26 | //usage: "Wrap input lines in FILEs (or stdin), writing to stdout\n" |
27 | //usage: "\n -b Count bytes rather than columns" | 27 | //usage: "\n -b Count bytes rather than columns" |
28 | //usage: "\n -s Break at spaces" | 28 | //usage: "\n -s Break at spaces" |
29 | //usage: "\n -w Use WIDTH columns instead of 80" | 29 | //usage: "\n -w Use WIDTH columns instead of 80" |
diff --git a/coreutils/head.c b/coreutils/head.c index b6efabbe0..efb023c6f 100644 --- a/coreutils/head.c +++ b/coreutils/head.c | |||
@@ -29,7 +29,7 @@ | |||
29 | //usage:#define head_trivial_usage | 29 | //usage:#define head_trivial_usage |
30 | //usage: "[OPTIONS] [FILE]..." | 30 | //usage: "[OPTIONS] [FILE]..." |
31 | //usage:#define head_full_usage "\n\n" | 31 | //usage:#define head_full_usage "\n\n" |
32 | //usage: "Print first 10 lines of each FILE (or stdin) to stdout.\n" | 32 | //usage: "Print first 10 lines of FILEs (or stdin) to stdout.\n" |
33 | //usage: "With more than one FILE, precede each with a filename header.\n" | 33 | //usage: "With more than one FILE, precede each with a filename header.\n" |
34 | //usage: "\n -n N[kbm] Print first N lines" | 34 | //usage: "\n -n N[kbm] Print first N lines" |
35 | //usage: IF_FEATURE_FANCY_HEAD( | 35 | //usage: IF_FEATURE_FANCY_HEAD( |
diff --git a/coreutils/mv.c b/coreutils/mv.c index b9f8f6982..f5ed9fcfc 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c | |||
@@ -26,7 +26,7 @@ | |||
26 | //usage: "[-fin] SOURCE DEST\n" | 26 | //usage: "[-fin] SOURCE DEST\n" |
27 | //usage: "or: mv [-fin] SOURCE... DIRECTORY" | 27 | //usage: "or: mv [-fin] SOURCE... DIRECTORY" |
28 | //usage:#define mv_full_usage "\n\n" | 28 | //usage:#define mv_full_usage "\n\n" |
29 | //usage: "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n" | 29 | //usage: "Rename SOURCE to DEST, or move SOURCEs to DIRECTORY\n" |
30 | //usage: "\n -f Don't prompt before overwriting" | 30 | //usage: "\n -f Don't prompt before overwriting" |
31 | //usage: "\n -i Interactive, prompt before overwrite" | 31 | //usage: "\n -i Interactive, prompt before overwrite" |
32 | //usage: "\n -n Don't overwrite an existing file" | 32 | //usage: "\n -n Don't overwrite an existing file" |
diff --git a/coreutils/realpath.c b/coreutils/realpath.c index f5f868744..aeeef601c 100644 --- a/coreutils/realpath.c +++ b/coreutils/realpath.c | |||
@@ -23,7 +23,7 @@ | |||
23 | //usage:#define realpath_trivial_usage | 23 | //usage:#define realpath_trivial_usage |
24 | //usage: "FILE..." | 24 | //usage: "FILE..." |
25 | //usage:#define realpath_full_usage "\n\n" | 25 | //usage:#define realpath_full_usage "\n\n" |
26 | //usage: "Return the absolute pathnames of given FILE" | 26 | //usage: "Print absolute pathnames of FILEs" |
27 | 27 | ||
28 | #include "libbb.h" | 28 | #include "libbb.h" |
29 | 29 | ||
diff --git a/coreutils/tail.c b/coreutils/tail.c index 1f458f9ed..08fde6cdd 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c | |||
@@ -48,7 +48,7 @@ | |||
48 | //usage:#define tail_trivial_usage | 48 | //usage:#define tail_trivial_usage |
49 | //usage: "[OPTIONS] [FILE]..." | 49 | //usage: "[OPTIONS] [FILE]..." |
50 | //usage:#define tail_full_usage "\n\n" | 50 | //usage:#define tail_full_usage "\n\n" |
51 | //usage: "Print last 10 lines of each FILE (or stdin) to stdout.\n" | 51 | //usage: "Print last 10 lines of FILEs (or stdin) to stdout.\n" |
52 | //usage: "With more than one FILE, precede each with a filename header.\n" | 52 | //usage: "With more than one FILE, precede each with a filename header.\n" |
53 | //usage: "\n -f Print data as file grows" | 53 | //usage: "\n -f Print data as file grows" |
54 | //usage: "\n -c [+]N[kbm] Print last N bytes" | 54 | //usage: "\n -c [+]N[kbm] Print last N bytes" |
diff --git a/coreutils/touch.c b/coreutils/touch.c index d8a930f7d..2b225dd16 100644 --- a/coreutils/touch.c +++ b/coreutils/touch.c | |||
@@ -35,7 +35,7 @@ | |||
35 | //usage: IF_FEATURE_TOUCH_SUSV3(" [-d DATE] [-t DATE] [-r FILE]") | 35 | //usage: IF_FEATURE_TOUCH_SUSV3(" [-d DATE] [-t DATE] [-r FILE]") |
36 | //usage: " FILE..." | 36 | //usage: " FILE..." |
37 | //usage:#define touch_full_usage "\n\n" | 37 | //usage:#define touch_full_usage "\n\n" |
38 | //usage: "Update mtime of FILE\n" | 38 | //usage: "Update mtime of FILEs\n" |
39 | //usage: "\n -c Don't create files" | 39 | //usage: "\n -c Don't create files" |
40 | //usage: "\n -h Don't follow links" | 40 | //usage: "\n -h Don't follow links" |
41 | //usage: IF_FEATURE_TOUCH_SUSV3( | 41 | //usage: IF_FEATURE_TOUCH_SUSV3( |
diff --git a/coreutils/truncate.c b/coreutils/truncate.c index 233d0f2d1..e26c3e3e1 100644 --- a/coreutils/truncate.c +++ b/coreutils/truncate.c | |||
@@ -19,9 +19,9 @@ | |||
19 | //usage:#define truncate_trivial_usage | 19 | //usage:#define truncate_trivial_usage |
20 | //usage: "[-c] -s SIZE FILE..." | 20 | //usage: "[-c] -s SIZE FILE..." |
21 | //usage:#define truncate_full_usage "\n\n" | 21 | //usage:#define truncate_full_usage "\n\n" |
22 | //usage: "Truncate FILEs to the given size\n" | 22 | //usage: "Truncate FILEs to SIZE\n" |
23 | //usage: "\n -c Do not create files" | 23 | //usage: "\n -c Do not create files" |
24 | //usage: "\n -s SIZE Truncate to SIZE" | 24 | //usage: "\n -s SIZE" |
25 | //usage: | 25 | //usage: |
26 | //usage:#define truncate_example_usage | 26 | //usage:#define truncate_example_usage |
27 | //usage: "$ truncate -s 1G foo" | 27 | //usage: "$ truncate -s 1G foo" |
diff --git a/coreutils/wc.c b/coreutils/wc.c index 99eb9dc87..d5238d3fc 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c | |||
@@ -80,7 +80,7 @@ | |||
80 | //usage: "[-c"IF_UNICODE_SUPPORT("m")"lwL] [FILE]..." | 80 | //usage: "[-c"IF_UNICODE_SUPPORT("m")"lwL] [FILE]..." |
81 | //usage: | 81 | //usage: |
82 | //usage:#define wc_full_usage "\n\n" | 82 | //usage:#define wc_full_usage "\n\n" |
83 | //usage: "Count lines, words, and bytes for each FILE (or stdin)\n" | 83 | //usage: "Count lines, words, and bytes for FILEs (or stdin)\n" |
84 | //usage: "\n -c Count bytes" | 84 | //usage: "\n -c Count bytes" |
85 | //usage: IF_UNICODE_SUPPORT( | 85 | //usage: IF_UNICODE_SUPPORT( |
86 | //usage: "\n -m Count characters" | 86 | //usage: "\n -m Count characters" |
diff --git a/miscutils/bc.c b/miscutils/bc.c index 553d0f472..dd9f4f8f1 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
@@ -108,14 +108,14 @@ | |||
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" |
115 | //usage: "\n" | 115 | //usage: "\n" |
116 | ///////: "\n -i Interactive" - has no effect for now | 116 | ///////: "\n -i Interactive" - has no effect for now |
117 | //usage: "\n -q Quiet" | 117 | //usage: "\n -q Quiet" |
118 | //usage: "\n -l Load standard math library" | 118 | //usage: "\n -l Load standard library" |
119 | //usage: "\n -s Be POSIX compatible" | 119 | //usage: "\n -s Be POSIX compatible" |
120 | //usage: "\n -w Warn if extensions are used" | 120 | //usage: "\n -w Warn if extensions are used" |
121 | ///////: "\n -v Version" | 121 | ///////: "\n -v Version" |
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 44649cae6..d8e9c78f5 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
@@ -27,7 +27,7 @@ | |||
27 | //config: When enabled, the watchdog device is opened and then immediately | 27 | //config: When enabled, the watchdog device is opened and then immediately |
28 | //config: magic-closed, before being opened a second time. This may be necessary | 28 | //config: magic-closed, before being opened a second time. This may be necessary |
29 | //config: for some watchdog devices, but can cause spurious warnings in the | 29 | //config: for some watchdog devices, but can cause spurious warnings in the |
30 | //config: kernel log if the nowayout feature is enabled. Also, if this workaround | 30 | //config: kernel log if the nowayout feature is enabled. If this workaround |
31 | //config: is really needed for you machine to work properly, consider whether | 31 | //config: is really needed for you machine to work properly, consider whether |
32 | //config: it should be fixed in the kernel driver instead. Even when disabled, | 32 | //config: it should be fixed in the kernel driver instead. Even when disabled, |
33 | //config: the behaviour is easily emulated with a "printf 'V' > /dev/watchdog" | 33 | //config: the behaviour is easily emulated with a "printf 'V' > /dev/watchdog" |
diff --git a/selinux/chcon.c b/selinux/chcon.c index 2e4f94c0f..e1778a36a 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -26,7 +26,7 @@ | |||
26 | //usage: ) | 26 | //usage: ) |
27 | //usage: | 27 | //usage: |
28 | //usage:#define chcon_full_usage "\n\n" | 28 | //usage:#define chcon_full_usage "\n\n" |
29 | //usage: "Change the security context of each FILE to CONTEXT\n" | 29 | //usage: "Change the security context of FILEs to CONTEXT\n" |
30 | //usage: "\n -v Verbose" | 30 | //usage: "\n -v Verbose" |
31 | //usage: "\n -c Report changes made" | 31 | //usage: "\n -c Report changes made" |
32 | //usage: "\n -h Affect symlinks instead of their targets" | 32 | //usage: "\n -h Affect symlinks instead of their targets" |