diff options
Diffstat (limited to 'common/argparse.c')
-rw-r--r-- | common/argparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/argparse.c b/common/argparse.c index aa7dc5b02..f6b599683 100644 --- a/common/argparse.c +++ b/common/argparse.c @@ -267,7 +267,7 @@ initialize( ARGPARSE_ARGS *arg, const char *filename, unsigned *lineno ) else jnlib_log_error (_("invalid option \"%.50s\"\n"), s); } - if ( arg->err != 1 ) + if (arg->err != ARGPARSE_PRINT_WARNING) exit (2); arg->err = 0; } |