doc: remove extraneous periods from --help output
authorPádraig Brady <P@draigBrady.com>
Wed, 10 Feb 2010 17:05:34 +0000 (17:05 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 11 Feb 2010 08:01:15 +0000 (08:01 +0000)
* src/join.c (usage): Mention "fields" rather than repeating "line"
so that it's more obvious that the fields are still parsed, and
thus -o is still honored for headers.  Also remove an extraneous
'.' reported by Stéphane Raimbault.
* src/base64.c (usage): Remove extraneous blank line and order
the options alphabetically.  Also remove an extraneous '.'
* src/chown.c (usage): Remove extraneous '.'
* src/cp.c (usage): Likewise.
* src/mktemp.c (usage): Likewise.
* src/pr.c (usage): Likewise.
* src/stat.c (usage): Likewise.
* src/uniq.c (usage): Likewise.

src/base64.c
src/chown.c
src/cp.c
src/join.c
src/mktemp.c
src/pr.c
src/stat.c
src/uniq.c

index dde5445..ce58f2f 100644 (file)
@@ -61,11 +61,10 @@ Usage: %s [OPTION]... [FILE]\n\
 Base64 encode or decode FILE, or standard input, to standard output.\n\
 \n"), program_name);
       fputs (_("\
+  -d, --decode          Decode data\n\
+  -i, --ignore-garbage  When decoding, ignore non-alphabet characters\n\
   -w, --wrap=COLS       Wrap encoded lines after COLS character (default 76).\n\
-                        Use 0 to disable line wrapping.\n\
-\n\
-  -d, --decode          Decode data.\n\
-  -i, --ignore-garbage  When decoding, ignore non-alphabet characters.\n\
+                          Use 0 to disable line wrapping\n\
 \n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
index 7a943b5..71f5357 100644 (file)
@@ -100,7 +100,7 @@ With --reference, change the owner and group of each FILE to those of RFILE.\n\
                          change the owner and/or group of each file only if\n\
                          its current owner and/or group match those specified\n\
                          here.  Either may be omitted, in which case a match\n\
-                         is not required for the omitted attribute.\n\
+                         is not required for the omitted attribute\n\
 "), stdout);
       fputs (_("\
       --no-preserve-root  do not treat `/' specially (the default)\n\
index b2a7269..cc958d1 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -202,12 +202,12 @@ Mandatory arguments to long options are mandatory for short options too.\n\
 "), stdout);
       fputs (_("\
   -R, -r, --recursive          copy directories recursively\n\
-      --reflink[=WHEN]         control clone/CoW copies. See below.\n\
+      --reflink[=WHEN]         control clone/CoW copies. See below\n\
       --remove-destination     remove each existing destination file before\n\
                                  attempting to open it (contrast with --force)\n\
 "), stdout);
       fputs (_("\
-      --sparse=WHEN            control creation of sparse files. See below.\n\
+      --sparse=WHEN            control creation of sparse files. See below\n\
       --strip-trailing-slashes  remove any trailing slashes from each SOURCE\n\
                                  argument\n\
 "), stdout);
index b1f3310..3ecd66e 100644 (file)
@@ -197,8 +197,8 @@ by whitespace.  When FILE1 or FILE2 (not both) is -, read standard input.\n\
   --check-order     check that the input is correctly sorted, even\n\
                       if all input lines are pairable\n\
   --nocheck-order   do not check that the input is correctly sorted\n\
-  --header          treat first line in each file as field header line,\n\
-                      print them without trying to pair them.\n\
+  --header          treat the first line in each file as field headers,\n\
+                      print them without trying to pair them\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
index 952369d..8bf2acc 100644 (file)
@@ -87,7 +87,7 @@ If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and --tmpdir is implied.\n\
                         specified, use $TMPDIR if set, else /tmp.  With\n\
                         this option, TEMPLATE must not be an absolute name.\n\
                         Unlike with -t, TEMPLATE may contain slashes, but\n\
-                        mktemp creates only the final component.\n\
+                        mktemp creates only the final component\n\
 "), stdout);
       fputs ("\n", stdout);
       fputs (_("\
index 10770cb..a36b657 100644 (file)
--- a/src/pr.c
+++ b/src/pr.c
@@ -2783,7 +2783,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
   -COLUMN, --columns=COLUMN\n\
                     output COLUMN columns and print columns down,\n\
                     unless -a is used. Balance number of lines in the\n\
-                    columns on each page.\n\
+                    columns on each page\n\
 "), stdout);
       fputs (_("\
   -a, --across      print columns across rather than down, used together\n\
index 50aaac4..5063e70 100644 (file)
@@ -984,7 +984,7 @@ Display file or file system status.\n\
                           output a newline after each use of FORMAT\n\
       --printf=FORMAT   like --format, but interpret backslash escapes,\n\
                           and do not output a mandatory trailing newline.\n\
-                          If you want a newline, include \\n in FORMAT.\n\
+                          If you want a newline, include \\n in FORMAT\n\
   -t, --terse           print the information in terse form\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
index 8f6b78a..9a72857 100644 (file)
@@ -152,7 +152,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
      fputs (_("\
   -D, --all-repeated[=delimit-method]  print all duplicate lines\n\
                         delimit-method={none(default),prepend,separate}\n\
-                        Delimiting is done with blank lines.\n\
+                        Delimiting is done with blank lines\n\
   -f, --skip-fields=N   avoid comparing the first N fields\n\
   -i, --ignore-case     ignore differences in case when comparing\n\
   -s, --skip-chars=N    avoid comparing the first N characters\n\