summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-02-10 17:05:34 +0000
committerPádraig Brady <P@draigBrady.com>2010-02-11 08:01:15 +0000
commit45b46f4951758e6d3564537bbc8535cf76e9114a (patch)
treec2bc645e539bc3f1bbcc24dbbcf7036ab2991b1a
parent9f650d0870a864f2a109e5ddb9b6f0bee06ecafd (diff)
downloadcoreutils-45b46f4951758e6d3564537bbc8535cf76e9114a.tar.xz
doc: remove extraneous periods from --help output
* 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.
-rw-r--r--src/base64.c7
-rw-r--r--src/chown.c2
-rw-r--r--src/cp.c4
-rw-r--r--src/join.c4
-rw-r--r--src/mktemp.c2
-rw-r--r--src/pr.c2
-rw-r--r--src/stat.c2
-rw-r--r--src/uniq.c2
8 files changed, 12 insertions, 13 deletions
diff --git a/src/base64.c b/src/base64.c
index dde54459c..ce58f2fdb 100644
--- a/src/base64.c
+++ b/src/base64.c
@@ -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);
diff --git a/src/chown.c b/src/chown.c
index 7a943b538..71f5357b3 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -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\
diff --git a/src/cp.c b/src/cp.c
index b2a726906..cc958d192 100644
--- 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);
diff --git a/src/join.c b/src/join.c
index b1f3310ec..3ecd66e2f 100644
--- a/src/join.c
+++ b/src/join.c
@@ -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);
diff --git a/src/mktemp.c b/src/mktemp.c
index 952369d9a..8bf2acc87 100644
--- a/src/mktemp.c
+++ b/src/mktemp.c
@@ -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 (_("\
diff --git a/src/pr.c b/src/pr.c
index 10770cb56..a36b657ca 100644
--- 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\
diff --git a/src/stat.c b/src/stat.c
index 50aaac4e8..5063e7086 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -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);
diff --git a/src/uniq.c b/src/uniq.c
index 8f6b78a5a..9a72857fd 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -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\