]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: uniq: use more standard description of -D long option
authorPádraig Brady <P@draigBrady.com>
Sat, 18 Mar 2023 11:35:46 +0000 (11:35 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 18 Mar 2023 11:44:24 +0000 (11:44 +0000)
* src/uniq.c: Describe -D and --all-repeated together,
as with all other long options.
Fixes https://bugs.gnu.org/62249

src/uniq.c

index ad0c1d6ae30ba5f2e7242f2ed4595b45158982ac..fb0f0cb8966d3895c3e0870dd4f94ffbcb36ad40 100644 (file)
@@ -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\