summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pwd.c b/src/pwd.c
index 9d5aa15f2..316bd6481 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -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 ();