diff options
author | Jim Meyering <jim@meyering.net> | 1997-09-14 16:03:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-09-14 16:03:58 +0000 |
commit | 9aef26e3d0b93d29c3ada008438bde5fee41a788 (patch) | |
tree | 37f6db01e50d0f22dd9a987871bab439132a2015 | |
parent | c2210482eeeb9e2633e0cb7b91bb15e6dade3989 (diff) | |
download | coreutils-9aef26e3d0b93d29c3ada008438bde5fee41a788.tar.xz |
(main) [--traditional]: Don't give diagnostic about there
being more than three arguments if there are *no* arguments specified.
Reported by Jochen Hein.
-rw-r--r-- | src/od.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ #include "error.h" #if defined(__GNUC__) || defined(STDC_HEADERS) -#include <float.h> +# include <float.h> #endif #ifdef HAVE_LONG_DOUBLE @@ -1851,7 +1851,7 @@ the maximum\nrepresentable value of type `long'"), optarg); usage (1); } } - else + else if (n_files > 3) { error (0, 0, _("in compatibility mode there may be no more than 3 arguments")); |