diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-10 14:39:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-10 14:39:16 +0000 |
commit | f6d13ddf6d59948509bd269ce7716e3ccae53cd2 (patch) | |
tree | 41c34a7e6c9ced61b9c4a0074656dd7479cc6a3f /src | |
parent | b037820eb478cc84126e360e01b97551694affc4 (diff) | |
download | coreutils-f6d13ddf6d59948509bd269ce7716e3ccae53cd2.tar.xz |
(main): Handle argc < optind.
Diffstat (limited to 'src')
-rw-r--r-- | src/pwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ main (int argc, char **argv) parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, AUTHORS, usage); - if (argc != 1) + if (1 < argc) error (0, 0, _("ignoring non-option arguments")); wd = xgetcwd (); |