lib/rcoli.rb in rcoli-0.6.6 vs lib/rcoli.rb in rcoli-0.6.7
- old
+ new
@@ -37,8 +37,9 @@
@program.execute(ARGV, self)
rescue InvalidCommand => e
say "#{@program.value_of_name}: #{e.message}. See '#{@program.value_of_name} help'"
rescue ApplicationError => e
say($terminal.color "#{e.message}", :red)
+ Kernel::exit(1)
end
}