lib/rcoli.rb in rcoli-0.5.0 vs lib/rcoli.rb in rcoli-0.5.1
- old
+ new
@@ -9,10 +9,10 @@
def application(id, &block)
@program.name id
@program.command(:help) do |c|
c.description "Display help documentation"
c.action do |global_opts, opts, args|
- @program.help
+ @program.help args
end
end
@program.instance_eval &block
end