]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
csplit: remove erroneous mention of -m in --help
authorPádraig Brady <P@draigBrady.com>
Tue, 6 Oct 2015 10:22:33 +0000 (11:22 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 6 Oct 2015 10:24:27 +0000 (11:24 +0100)
* src/csplit.c (usage): -m is not accepted, only --suppress-matched.
* tests/misc/csplit-suppress-matched.pl: Spelling fix.

Reported by Ondrej Oprala

src/csplit.c
tests/misc/csplit-suppress-matched.pl

index d966df57a3d73d67d65b7b7c95c1d1c331d6eb2d..6b699428bab0de6636073c25e5a836a15b0b6167 100644 (file)
@@ -1495,7 +1495,7 @@ Read standard input if FILE is -\n\
   -k, --keep-files           do not remove output files on errors\n\
 "), stdout);
       fputs (_("\
-  -m, --suppress-matched     suppress the lines matching PATTERN\n\
+      --suppress-matched     suppress the lines matching PATTERN\n\
 "), stdout);
       fputs (_("\
   -n, --digits=DIGITS        use specified number of digits instead of 2\n\
index d4ca3cd0605b55fb57823fa5843a966f2fda301c..09fc1a57c8ba49a31780f4bb94d2e1e5b532f2c8 100755 (executable)
@@ -57,7 +57,7 @@ d
 d
 EOF
 
-# Standard Coreotils::run_tests() structure, except the addition of
+# Standard Coreutils::run_tests() structure, except the addition of
 # "OUTPUTS" array, containing the expected content of the output files.
 # See code below for conversion into PRE/CMP/POST checks.
 my @csplit_tests =