From 93d3d104530d48d16af78d31387a09cc887aff1c Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Wed, 22 Dec 2021 18:08:20 +0100 Subject: [PATCH] Update gollum (#1786) Exit with code 1 (error) when invalid option is given --- bin/gollum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gollum b/bin/gollum index 13af0c04..37538da0 100755 --- a/bin/gollum +++ b/bin/gollum @@ -206,7 +206,7 @@ begin rescue OptionParser::InvalidOption => e puts "gollum: #{e.message}" puts 'gollum: try \'gollum --help\' for more information' - exit + exit 1 end # --gollum-path wins over ARGV[0]