Properly exit from unknown() in maid.cr

This commit is contained in:
Donovan Glover 2017-11-15 00:57:20 -05:00
parent 9aa5eddf71
commit 2d5ce6ffa9
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D

View File

@ -84,6 +84,7 @@ module Maid
def unknown() def unknown()
puts Trucolor.format({255, 55, 20}, "Unknown command '#{ARGV[0]}'") puts Trucolor.format({255, 55, 20}, "Unknown command '#{ARGV[0]}'")
puts Trucolor.format({200, 200, 10}, "Type 'maid help' for a list of commands") puts Trucolor.format({200, 200, 10}, "Type 'maid help' for a list of commands")
exit 1
end end
def up() def up()