lib/gli/option_parser_factory.rb in gli-2.10.0 vs lib/gli/option_parser_factory.rb in gli-2.11.0
- old
+ new
@@ -69,10 +69,10 @@
help_args = %w(-h --help).reject { |_| command.has_option?(_) }
unless help_args.empty?
help_args << "Get help for #{command.name}"
option_parser.on(*help_args) do
- raise CommandException.new(nil,command,0)
+ raise RequestHelp.new(command)
end
end
end