lib/rcoli.rb in rcoli-0.5.12 vs lib/rcoli.rb in rcoli-0.6.0
- old
+ new
@@ -8,10 +8,10 @@
@program = RCoLi::Program.new
def application(id, &block)
@program.name id
- @program.switch long: 'debug' do |s|
+ @program.switch :long => 'debug' do |s|
s.description "Turn on debugging"
end
@program.command(:help) do |c|
c.description "Display help documentation"