diff options
author | Jim Meyering <jim@meyering.net> | 2001-08-28 08:18:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-08-28 08:18:19 +0000 |
commit | 5dcf4f2419b729084d844af8f009d6e38c2d0968 (patch) | |
tree | f0edcd75b20276ea1471a3bb39ec00960177106a /src | |
parent | aa69564e945c3a91d81c88839268a23725c76dd9 (diff) | |
download | coreutils-5dcf4f2419b729084d844af8f009d6e38c2d0968.tar.xz |
(main): Correct the diagnostic for invalid argument to -w.
Diffstat (limited to 'src')
-rw-r--r-- | src/fmt.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } |