lib/sprout/executable/base.rb in sprout-1.1.5.pre vs lib/sprout/executable/base.rb in sprout-1.1.7.pre
- old
+ new
@@ -501,11 +501,10 @@
chain
end
def add_help_param
option_parser.on '--help', 'Display this help message' do
- puts option_parser.to_s
- exit
+ abort option_parser.to_s
end
end
def initialize_parameter declaration
name = declaration[:name]