commit 2b1401cd72bc44b613f0d1c4681ec83d41e6e4f8 Author: Pádraig Brady Date: Wed Feb 10 17:05:34 2010 +0000 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 '.' * src/chown.c (usage): Remove extraneious '.' * 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. diff --git a/src/base64.c b/src/base64.c index dde5445..be5f777 100644 --- a/src/base64.c +++ b/src/base64.c @@ -62,10 +62,9 @@ Base64 encode or decode FILE, or standard input, to standard output.\n\ \n"), program_name); fputs (_("\ -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\ + -d, --decode Decode data\n\ + -i, --ignore-garbage When decoding, ignore non-alphabet characters\n\ \n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); diff --git a/src/chown.c b/src/chown.c index 7a943b5..71f5357 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 b2a7269..cc958d1 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 b1f3310..3ecd66e 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 952369d..8bf2acc 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 10770cb..a36b657 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 50aaac4..5063e70 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 8f6b78a..9a72857 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\