examples/help_dialogue.rb in mercenary-0.3.1 vs examples/help_dialogue.rb in mercenary-0.3.2
- old
+ new
@@ -17,9 +17,10 @@
p.command(:some_subcommand) do |c|
c.version '1.4.2'
c.syntax 'some_subcommand <subcommand> [options]'
c.description 'Some subcommand to do something'
c.option 'an_option', '-o', '--option', 'Some option'
+ c.alias(:blah)
c.command(:yet_another_sub) do |f|
f.syntax 'yet_another_sub [options]'
f.description 'Do amazing things'
f.option 'blah', '-b', '--blah', 'Trigger blah flag'