summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2023-03-18 14:58:20 +0000
committerPádraig Brady <P@draigBrady.com>2023-03-18 14:58:20 +0000
commit11f4d591383f4c89d8bf5970db703cbd0e4a174d (patch)
tree21553995a66fcc10f2405b7b43ab8b893babd749
parent8a759fdc8855a428b472ed4f921b5e327c915494 (diff)
downloadcoreutils-11f4d591383f4c89d8bf5970db703cbd0e4a174d.tar.gz
doc: uniq: revert previous man page adjustment
* src/uniq.c (usage): -D doesn't take an argument so should be separated in the description.
-rw-r--r--src/uniq.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/uniq.c b/src/uniq.c
index fb0f0cb89..ad0c1d6ae 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -181,9 +181,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\
- optionally separating groups 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\