From 84d5eddb25930ee8a5ff96536ca6f707d793eb24 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 13 Dec 2020 22:34:05 +0100 Subject: 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 --- coreutils/cp.c | 2 +- coreutils/ln.c | 4 ++-- coreutils/nl.c | 2 +- coreutils/paste.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'coreutils') 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 @@ /* http://www.opengroup.org/onlinepubs/007904975/utilities/cp.html */ //usage:#define cp_trivial_usage -//usage: "[OPTIONS] SOURCE... DEST" +//usage: "[-arPLHpfilsTu] SOURCE... DEST" //usage:#define cp_full_usage "\n\n" //usage: "Copy SOURCE(s) to DEST\n" //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 @@ /* http://www.opengroup.org/onlinepubs/007904975/utilities/ln.html */ //usage:#define ln_trivial_usage -//usage: "[OPTIONS] TARGET... LINK|DIR" +//usage: "[-sfnbtv] [-S SUF] TARGET... LINK|DIR" //usage:#define ln_full_usage "\n\n" //usage: "Create a link LINK or DIR/TARGET to the specified TARGET(s)\n" //usage: "\n -s Make symlinks instead of hardlinks" //usage: "\n -f Remove existing destinations" //usage: "\n -n Don't dereference symlinks - treat like normal file" //usage: "\n -b Make a backup of the target (if exists) before link operation" -//usage: "\n -S suf Use suffix instead of ~ when making backup files" +//usage: "\n -S SUF Use suffix instead of ~ when making backup files" //usage: "\n -T Treat LINK as a file, not DIR" //usage: "\n -v Verbose" //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 @@ //usage:#define nl_full_usage "\n\n" //usage: "Write FILEs to standard output with line numbers added\n" //usage: "\n -b STYLE Which lines to number - a: all, t: nonempty, n: none" -//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TODO: support "pBRE": number only lines thatmatch regexp BRE" +//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TODO: support "pBRE": number only lines that match regexp BRE" ////usage: "\n -f STYLE footer lines" ////usage: "\n -h STYLE header lines" ////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 @@ //kbuild:lib-$(CONFIG_PASTE) += paste.o //usage:#define paste_trivial_usage -//usage: "[OPTIONS] [FILE]..." +//usage: "[-d LIST] [-s] [FILE]..." //usage:#define paste_full_usage "\n\n" //usage: "Paste lines from each input file, separated with tab\n" //usage: "\n -d LIST Use delimiters from LIST, not tab" -- cgit v1.2.3