summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-08-31 18:07:34 +0100
committerPádraig Brady <P@draigBrady.com>2015-08-31 18:10:41 +0100
commita83f703a9bf9412417be94848a4ed7b7f1c1fc4a (patch)
tree9f874a30f8cd76221cf4c6bcd4c3fa94679e1748 /src
parentfd5f2b1569e2e0b31be755e14e236a7a02478fc0 (diff)
downloadcoreutils-a83f703a9bf9412417be94848a4ed7b7f1c1fc4a.tar.xz
doc: clarify in --help/man where short options take no param
* src/shred.c (usage): For -u, separate the decscription of the short and long option, to clarify that the short option takes no parameter. * src/split.c (usage): Likewise for -d. * src/tee.c (usage): Likewise for -p. * src/uniq.c (usage): Likewise for -D. Suggested by Stephane Chazelas
Diffstat (limited to 'src')
-rw-r--r--src/shred.c3
-rw-r--r--src/split.c5
-rw-r--r--src/tee.c3
-rw-r--r--src/uniq.c7
4 files changed, 11 insertions, 7 deletions
diff --git a/src/shred.c b/src/shred.c
index 52c93ef61..195b5d2eb 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -185,7 +185,8 @@ If FILE is -, shred standard output.\n\
-s, --size=N shred this many bytes (suffixes like K, M, G accepted)\n\
"), DEFAULT_PASSES);
fputs (_("\
- -u, --remove[=HOW] truncate and remove file after overwriting; See below\n\
+ -u truncate and remove file after overwriting\n\
+ --remove[=HOW] like -u but give control on HOW to delete; See below\n\
-v, --verbose show progress\n\
-x, --exact do not round file sizes up to the next full block;\n\
this is the default for non-regular files\n\
diff --git a/src/split.c b/src/split.c
index 35f2629ae..1e6bec61a 100644
--- a/src/split.c
+++ b/src/split.c
@@ -238,8 +238,9 @@ default size is 1000 lines, and default PREFIX is 'x'.\n\
--additional-suffix=SUFFIX append an additional SUFFIX to file names\n\
-b, --bytes=SIZE put SIZE bytes per output file\n\
-C, --line-bytes=SIZE put at most SIZE bytes of records per output file\n\
- -d, --numeric-suffixes[=FROM] use numeric suffixes instead of alphabetic;\n\
- FROM changes the start value (default 0)\n\
+ -d use numeric suffixes starting at 0, not alphabetic\n\
+ --numeric-suffixes[=FROM] same as -d, but allow setting the start value\
+\n\
-e, --elide-empty-files do not generate empty output files with '-n'\n\
--filter=COMMAND write to shell COMMAND; file name is $FILE\n\
-l, --lines=NUMBER put NUMBER lines/records per output file\n\
diff --git a/src/tee.c b/src/tee.c
index 3c39a4ab3..35120f89c 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -91,7 +91,8 @@ Copy standard input to each FILE, and also to standard output.\n\
-i, --ignore-interrupts ignore interrupt signals\n\
"), stdout);
fputs (_("\
- -p, --output-error[=MODE] behavior on write error. See MODE details below\n\
+ -p diagnose errors writing to non pipes\n\
+ --output-error[=MODE] set behavior on write error. See MODE below\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
diff --git a/src/uniq.c b/src/uniq.c
index e0cfe4ddc..8dfb7ea97 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -185,9 +185,10 @@ With no options, matching lines are merged to the first occurrence.\n\
-d, --repeated only print duplicate lines, one for each group\n\
"), stdout);
fputs (_("\
- -D, --all-repeated[=METHOD] print all duplicate lines;\n\
- groups can be delimited with an empty line;\n\
- METHOD={none(default),prepend,separate}\n\
+ -D print all duplicate lines\n\
+ --all-repeated[=METHOD] like -D, but allow separating groups\n\
+ with an empty line;\n\
+ METHOD={none(default),prepend,separate}\n\
"), stdout);
fputs (_("\
-f, --skip-fields=N avoid comparing the first N fields\n\