summaryrefslogtreecommitdiff
path: root/src/uniq.c
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/uniq.c
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/uniq.c')
-rw-r--r--src/uniq.c7
1 files changed, 4 insertions, 3 deletions
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\