retrun exit code 1 when unknown option
This commit is contained in:
parent
c86d9aa148
commit
77b0cf8f45
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ sub process_options {
|
|||
push @pkgs_to_stow, $_[0];
|
||||
}
|
||||
},
|
||||
) or usage();
|
||||
) or usage(0);
|
||||
|
||||
usage() if $options{help};
|
||||
version() if $options{version};
|
||||
|
|
Loading…
Reference in a new issue