diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-31 13:37:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-31 13:37:08 +0000 |
commit | d85b93c0fb91e0f3d887830a4d6b206da3325b54 (patch) | |
tree | 3b69cfaa0653823c0d443fce1ef0246bc10eac05 /src | |
parent | 4bee27ae43e6aa07aa0069ae39cb1c8a2b2cfcfd (diff) | |
download | coreutils-d85b93c0fb91e0f3d887830a4d6b206da3325b54.tar.xz |
ditto for invalid options
Diffstat (limited to 'src')
-rw-r--r-- | src/du.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -665,12 +665,12 @@ main (int argc, char **argv) case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); default: - usage (EXIT_FAILURE); + fail = 1; } } if (fail) - exit (EXIT_FAILURE); + usage (EXIT_FAILURE); if (opt_all && opt_summarize_only) { |