summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2023-03-18 11:35:46 +0000
committerPádraig Brady <P@draigBrady.com>2023-03-18 11:44:24 +0000
commit8a759fdc8855a428b472ed4f921b5e327c915494 (patch)
tree79f833a31d91d11e0f17d6c17e2847a97634d5df
parenta109106eb8d68569ec0dc7c32f28f755b5e80764 (diff)
downloadcoreutils-8a759fdc8855a428b472ed4f921b5e327c915494.tar.gz
doc: uniq: use more standard description of -D long option
* src/uniq.c: Describe -D and --all-repeated together, as with all other long options. Fixes https://bugs.gnu.org/62249
-rw-r--r--src/uniq.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/uniq.c b/src/uniq.c
index ad0c1d6ae..fb0f0cb89 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -181,10 +181,9 @@ 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 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\
+ -D, --all-repeated[=METHOD] print all duplicate lines,\n\
+ optionally separating groups with an empty line;\n\
+ METHOD={none(default),prepend,separate}\n\
"), stdout);
fputs (_("\
-f, --skip-fields=N avoid comparing the first N fields\n\