Update gollum (#1786)
Exit with code 1 (error) when invalid option is given
This commit is contained in:
+1
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user