retrun exit code 1 when unknown option

This commit is contained in:
Brice Waegeneire 2019-06-11 14:13:51 +02:00
parent c86d9aa148
commit 77b0cf8f45

View file

@ -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};