From 77b0cf8f451c0607160b19f306ddbbbb755cba52 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Tue, 11 Jun 2019 14:13:51 +0200 Subject: [PATCH] retrun exit code 1 when unknown option --- bin/stow.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stow.in b/bin/stow.in index 98b576e..a5229eb 100755 --- a/bin/stow.in +++ b/bin/stow.in @@ -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};