Browse Source

*: --help text tweaks

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko 3 years ago
parent
commit
ba9f9c2d2c

+ 1 - 1
coreutils/chgrp.c

@@ -23,7 +23,7 @@
 //usage:#define chgrp_trivial_usage
 //usage:       "[-Rh"IF_DESKTOP("LHPcvf")"]... GROUP FILE..."
 //usage:#define chgrp_full_usage "\n\n"
-//usage:       "Change the group membership of each FILE to GROUP\n"
+//usage:       "Change the group membership of FILEs to GROUP\n"
 //usage:     "\n	-R	Recurse"
 //usage:     "\n	-h	Affect symlinks instead of symlink targets"
 //usage:	IF_DESKTOP(

+ 1 - 1
coreutils/chown.c

@@ -28,7 +28,7 @@
 //usage:#define chown_trivial_usage
 //usage:       "[-Rh"IF_DESKTOP("LHPcvf")"]... USER[:[GRP]] FILE..."
 //usage:#define chown_full_usage "\n\n"
-//usage:       "Change the owner and/or group of each FILE to USER and/or GRP\n"
+//usage:       "Change the owner and/or group of FILEs to USER and/or GRP\n"
 //usage:     "\n	-R	Recurse"
 //usage:     "\n	-h	Affect symlinks instead of symlink targets"
 //usage:	IF_DESKTOP(

+ 1 - 1
coreutils/cp.c

@@ -40,7 +40,7 @@
 //usage:#define cp_trivial_usage
 //usage:       "[-arPLHpfilsTu] SOURCE... DEST"
 //usage:#define cp_full_usage "\n\n"
-//usage:       "Copy SOURCE(s) to DEST\n"
+//usage:       "Copy SOURCEs to DEST\n"
 //usage:     "\n	-a	Same as -dpR"
 //usage:	IF_SELINUX(
 //usage:     "\n	-c	Preserve security context"

+ 4 - 4
coreutils/cut.c

@@ -22,12 +22,12 @@
 //usage:#define cut_trivial_usage
 //usage:       "[OPTIONS] [FILE]..."
 //usage:#define cut_full_usage "\n\n"
-//usage:       "Print selected fields from each input FILE to stdout\n"
+//usage:       "Print selected fields from FILEs to stdout\n"
 //usage:     "\n	-b LIST	Output only bytes from LIST"
 //usage:     "\n	-c LIST	Output only characters from LIST"
-//usage:     "\n	-d CHAR	Use CHAR instead of tab as the field delimiter"
-//usage:     "\n	-s	Output only the lines containing delimiter"
-//usage:     "\n	-f N	Print only these fields"
+//usage:     "\n	-d CHAR	Use CHAR instead of tab as field delimiter"
+//usage:     "\n	-s	Output only lines containing delimiter"
+//usage:     "\n	-f LIST	Print only these fields"
 //usage:     "\n	-n	Ignored"
 //usage:
 //usage:#define cut_example_usage

+ 1 - 1
coreutils/du.c

@@ -40,7 +40,7 @@
 //usage:#define du_trivial_usage
 //usage:       "[-aHLdclsx" IF_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..."
 //usage:#define du_full_usage "\n\n"
-//usage:       "Summarize disk space used for each FILE and/or directory\n"
+//usage:       "Summarize disk space used for FILEs (or directories)\n"
 //usage:     "\n	-a	Show file sizes too"
 //usage:     "\n	-L	Follow all symlinks"
 //usage:     "\n	-H	Follow symlinks on command line"

+ 1 - 1
coreutils/fold.c

@@ -23,7 +23,7 @@
 //usage:#define fold_trivial_usage
 //usage:       "[-bs] [-w WIDTH] [FILE]..."
 //usage:#define fold_full_usage "\n\n"
-//usage:       "Wrap input lines in each FILE (or stdin), writing to stdout\n"
+//usage:       "Wrap input lines in FILEs (or stdin), writing to stdout\n"
 //usage:     "\n	-b	Count bytes rather than columns"
 //usage:     "\n	-s	Break at spaces"
 //usage:     "\n	-w	Use WIDTH columns instead of 80"

+ 1 - 1
coreutils/head.c

@@ -29,7 +29,7 @@
 //usage:#define head_trivial_usage
 //usage:       "[OPTIONS] [FILE]..."
 //usage:#define head_full_usage "\n\n"
-//usage:       "Print first 10 lines of each FILE (or stdin) to stdout.\n"
+//usage:       "Print first 10 lines of FILEs (or stdin) to stdout.\n"
 //usage:       "With more than one FILE, precede each with a filename header.\n"
 //usage:     "\n	-n N[kbm]	Print first N lines"
 //usage:	IF_FEATURE_FANCY_HEAD(

+ 1 - 1
coreutils/mv.c

@@ -26,7 +26,7 @@
 //usage:       "[-fin] SOURCE DEST\n"
 //usage:       "or: mv [-fin] SOURCE... DIRECTORY"
 //usage:#define mv_full_usage "\n\n"
-//usage:       "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n"
+//usage:       "Rename SOURCE to DEST, or move SOURCEs to DIRECTORY\n"
 //usage:     "\n	-f	Don't prompt before overwriting"
 //usage:     "\n	-i	Interactive, prompt before overwrite"
 //usage:     "\n	-n	Don't overwrite an existing file"

+ 1 - 1
coreutils/realpath.c

@@ -23,7 +23,7 @@
 //usage:#define realpath_trivial_usage
 //usage:       "FILE..."
 //usage:#define realpath_full_usage "\n\n"
-//usage:       "Return the absolute pathnames of given FILE"
+//usage:       "Print absolute pathnames of FILEs"
 
 #include "libbb.h"
 

+ 1 - 1
coreutils/tail.c

@@ -48,7 +48,7 @@
 //usage:#define tail_trivial_usage
 //usage:       "[OPTIONS] [FILE]..."
 //usage:#define tail_full_usage "\n\n"
-//usage:       "Print last 10 lines of each FILE (or stdin) to stdout.\n"
+//usage:       "Print last 10 lines of FILEs (or stdin) to stdout.\n"
 //usage:       "With more than one FILE, precede each with a filename header.\n"
 //usage:     "\n	-f		Print data as file grows"
 //usage:     "\n	-c [+]N[kbm]	Print last N bytes"

+ 1 - 1
coreutils/touch.c

@@ -35,7 +35,7 @@
 //usage:       IF_FEATURE_TOUCH_SUSV3(" [-d DATE] [-t DATE] [-r FILE]")
 //usage:       " FILE..."
 //usage:#define touch_full_usage "\n\n"
-//usage:       "Update mtime of FILE\n"
+//usage:       "Update mtime of FILEs\n"
 //usage:     "\n	-c	Don't create files"
 //usage:     "\n	-h	Don't follow links"
 //usage:	IF_FEATURE_TOUCH_SUSV3(

+ 2 - 2
coreutils/truncate.c

@@ -19,9 +19,9 @@
 //usage:#define truncate_trivial_usage
 //usage:       "[-c] -s SIZE FILE..."
 //usage:#define truncate_full_usage "\n\n"
-//usage:	"Truncate FILEs to the given size\n"
+//usage:	"Truncate FILEs to SIZE\n"
 //usage:	"\n	-c	Do not create files"
-//usage:	"\n	-s SIZE	Truncate to SIZE"
+//usage:	"\n	-s SIZE"
 //usage:
 //usage:#define truncate_example_usage
 //usage:	"$ truncate -s 1G foo"

+ 1 - 1
coreutils/wc.c

@@ -80,7 +80,7 @@
 //usage:       "[-c"IF_UNICODE_SUPPORT("m")"lwL] [FILE]..."
 //usage:
 //usage:#define wc_full_usage "\n\n"
-//usage:       "Count lines, words, and bytes for each FILE (or stdin)\n"
+//usage:       "Count lines, words, and bytes for FILEs (or stdin)\n"
 //usage:     "\n	-c	Count bytes"
 //usage:	IF_UNICODE_SUPPORT(
 //usage:     "\n	-m	Count characters"

+ 2 - 2
miscutils/bc.c

@@ -108,14 +108,14 @@
 
 //See www.gnu.org/software/bc/manual/bc.html
 //usage:#define bc_trivial_usage
-//usage:       "[-sqlw] FILE..."
+//usage:       "[-sqlw] [FILE...]"
 //usage:
 //usage:#define bc_full_usage "\n"
 //usage:     "\nArbitrary precision calculator"
 //usage:     "\n"
 ///////:     "\n	-i	Interactive" - has no effect for now
 //usage:     "\n	-q	Quiet"
-//usage:     "\n	-l	Load standard math library"
+//usage:     "\n	-l	Load standard library"
 //usage:     "\n	-s	Be POSIX compatible"
 //usage:     "\n	-w	Warn if extensions are used"
 ///////:     "\n	-v	Version"

+ 1 - 1
miscutils/watchdog.c

@@ -27,7 +27,7 @@
 //config:	When enabled, the watchdog device is opened and then immediately
 //config:	magic-closed, before being opened a second time. This may be necessary
 //config:	for some watchdog devices, but can cause spurious warnings in the
-//config:	kernel log if the nowayout feature is enabled. Also, if this workaround
+//config:	kernel log if the nowayout feature is enabled. If this workaround
 //config:	is really needed for you machine to work properly, consider whether
 //config:	it should be fixed in the kernel driver instead. Even when disabled,
 //config:	the behaviour is easily emulated with a "printf 'V' > /dev/watchdog"

+ 1 - 1
selinux/chcon.c

@@ -26,7 +26,7 @@
 //usage:	)
 //usage:
 //usage:#define chcon_full_usage "\n\n"
-//usage:       "Change the security context of each FILE to CONTEXT\n"
+//usage:       "Change the security context of FILEs to CONTEXT\n"
 //usage:     "\n	-v	Verbose"
 //usage:     "\n	-c	Report changes made"
 //usage:     "\n	-h	Affect symlinks instead of their targets"