Update gollum (#1786)

Exit with code 1 (error) when invalid option is given
This commit is contained in:
Dawa Ometto
2021-12-22 18:08:20 +01:00
committed by GitHub
parent 98a0006c86
commit 93d3d10453
+1 -1
View File
@@ -206,7 +206,7 @@ begin
rescue OptionParser::InvalidOption => e rescue OptionParser::InvalidOption => e
puts "gollum: #{e.message}" puts "gollum: #{e.message}"
puts 'gollum: try \'gollum --help\' for more information' puts 'gollum: try \'gollum --help\' for more information'
exit exit 1
end end
# --gollum-path wins over ARGV[0] # --gollum-path wins over ARGV[0]