diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-13 22:34:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-13 22:34:05 +0100 |
commit | 84d5eddb25930ee8a5ff96536ca6f707d793eb24 (patch) | |
tree | 21406cb8b2a2661459e3aba4428e74995d69368d /coreutils | |
parent | 63139b531f7f1d71d8274810b163da1a78d4609e (diff) | |
download | busybox-w32-84d5eddb25930ee8a5ff96536ca6f707d793eb24.tar.gz busybox-w32-84d5eddb25930ee8a5ff96536ca6f707d793eb24.tar.bz2 busybox-w32-84d5eddb25930ee8a5ff96536ca6f707d793eb24.zip |
help text: replace [OPTIONS] with actual options (if not too long)
function old new delta
packed_usage 33620 33665 +45
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/cp.c | 2 | ||||
-rw-r--r-- | coreutils/ln.c | 4 | ||||
-rw-r--r-- | coreutils/nl.c | 2 | ||||
-rw-r--r-- | coreutils/paste.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/coreutils/cp.c b/coreutils/cp.c index cfeb19fc4..9b9b8f7bf 100644 --- a/coreutils/cp.c +++ b/coreutils/cp.c | |||
@@ -38,7 +38,7 @@ | |||
38 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/cp.html */ | 38 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/cp.html */ |
39 | 39 | ||
40 | //usage:#define cp_trivial_usage | 40 | //usage:#define cp_trivial_usage |
41 | //usage: "[OPTIONS] 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 SOURCE(s) to DEST\n" |
44 | //usage: "\n -a Same as -dpR" | 44 | //usage: "\n -a Same as -dpR" |
diff --git a/coreutils/ln.c b/coreutils/ln.c index 5591e8335..2dcf79c07 100644 --- a/coreutils/ln.c +++ b/coreutils/ln.c | |||
@@ -21,14 +21,14 @@ | |||
21 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/ln.html */ | 21 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/ln.html */ |
22 | 22 | ||
23 | //usage:#define ln_trivial_usage | 23 | //usage:#define ln_trivial_usage |
24 | //usage: "[OPTIONS] TARGET... LINK|DIR" | 24 | //usage: "[-sfnbtv] [-S SUF] TARGET... LINK|DIR" |
25 | //usage:#define ln_full_usage "\n\n" | 25 | //usage:#define ln_full_usage "\n\n" |
26 | //usage: "Create a link LINK or DIR/TARGET to the specified TARGET(s)\n" | 26 | //usage: "Create a link LINK or DIR/TARGET to the specified TARGET(s)\n" |
27 | //usage: "\n -s Make symlinks instead of hardlinks" | 27 | //usage: "\n -s Make symlinks instead of hardlinks" |
28 | //usage: "\n -f Remove existing destinations" | 28 | //usage: "\n -f Remove existing destinations" |
29 | //usage: "\n -n Don't dereference symlinks - treat like normal file" | 29 | //usage: "\n -n Don't dereference symlinks - treat like normal file" |
30 | //usage: "\n -b Make a backup of the target (if exists) before link operation" | 30 | //usage: "\n -b Make a backup of the target (if exists) before link operation" |
31 | //usage: "\n -S suf Use suffix instead of ~ when making backup files" | 31 | //usage: "\n -S SUF Use suffix instead of ~ when making backup files" |
32 | //usage: "\n -T Treat LINK as a file, not DIR" | 32 | //usage: "\n -T Treat LINK as a file, not DIR" |
33 | //usage: "\n -v Verbose" | 33 | //usage: "\n -v Verbose" |
34 | //usage: | 34 | //usage: |
diff --git a/coreutils/nl.c b/coreutils/nl.c index aea019c56..800b73c26 100644 --- a/coreutils/nl.c +++ b/coreutils/nl.c | |||
@@ -19,7 +19,7 @@ | |||
19 | //usage:#define nl_full_usage "\n\n" | 19 | //usage:#define nl_full_usage "\n\n" |
20 | //usage: "Write FILEs to standard output with line numbers added\n" | 20 | //usage: "Write FILEs to standard output with line numbers added\n" |
21 | //usage: "\n -b STYLE Which lines to number - a: all, t: nonempty, n: none" | 21 | //usage: "\n -b STYLE Which lines to number - a: all, t: nonempty, n: none" |
22 | //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TODO: support "pBRE": number only lines thatmatch regexp BRE" | 22 | //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TODO: support "pBRE": number only lines that match regexp BRE" |
23 | ////usage: "\n -f STYLE footer lines" | 23 | ////usage: "\n -f STYLE footer lines" |
24 | ////usage: "\n -h STYLE header lines" | 24 | ////usage: "\n -h STYLE header lines" |
25 | ////usage: "\n -d CC use CC for separating logical pages" | 25 | ////usage: "\n -d CC use CC for separating logical pages" |
diff --git a/coreutils/paste.c b/coreutils/paste.c index 11743297a..fd2aa5027 100644 --- a/coreutils/paste.c +++ b/coreutils/paste.c | |||
@@ -18,7 +18,7 @@ | |||
18 | //kbuild:lib-$(CONFIG_PASTE) += paste.o | 18 | //kbuild:lib-$(CONFIG_PASTE) += paste.o |
19 | 19 | ||
20 | //usage:#define paste_trivial_usage | 20 | //usage:#define paste_trivial_usage |
21 | //usage: "[OPTIONS] [FILE]..." | 21 | //usage: "[-d LIST] [-s] [FILE]..." |
22 | //usage:#define paste_full_usage "\n\n" | 22 | //usage:#define paste_full_usage "\n\n" |
23 | //usage: "Paste lines from each input file, separated with tab\n" | 23 | //usage: "Paste lines from each input file, separated with tab\n" |
24 | //usage: "\n -d LIST Use delimiters from LIST, not tab" | 24 | //usage: "\n -d LIST Use delimiters from LIST, not tab" |