lib/gli.rb in gli-1.3.1 vs lib/gli.rb in gli-1.3.2
- old
+ new
@@ -282,9 +282,10 @@
when UnknownCommandArgument
msg += ". Use '#{program_name} help #{ex.command.name}' for a list of command options"
when UnknownGlobalArgument
msg += ". Use '#{program_name} help' for a list of global options"
end
+ msg
end
# Simpler means of exiting with a custom exit code. This will
# raise a CustomExit with the given message and exit code, which will ultimatley
# cause your application to exit with the given exit_code as its exit status