]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Correct the diagnostic for invalid argument to -w.
authorJim Meyering <jim@meyering.net>
Tue, 28 Aug 2001 08:18:19 +0000 (08:18 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 28 Aug 2001 08:18:19 +0000 (08:18 +0000)
src/fmt.c

index 7769e0839dae683d429789c1546eb6b74502af87..f3c39b757f2030eb619100e345a0fe32d2f25559 100644 (file)
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -188,8 +188,7 @@ static bool uniform;
 static const unsigned char *prefix;
 
 /* User-supplied maximum line width (default WIDTH).  The only output
-   lines
-   longer than this will each comprise a single word.  */
+   lines longer than this will each comprise a single word.  */
 static int max_width;
 
 /* Values derived from the option values.  */
@@ -372,7 +371,7 @@ main (register int argc, register char **argv)
          long int tmp_long;
          if (xstrtol (optarg, NULL, 10, &tmp_long, "") != LONGINT_OK
              || tmp_long <= 0 || tmp_long > INT_MAX)
-           error (EXIT_FAILURE, 0, _("invalid line number increment: `%s'"),
+           error (EXIT_FAILURE, 0, _("invalid width: `%s'"),
                   optarg);
          max_width = (int) tmp_long;
        }