Permalink
Browse files

Fixed the help example

  • Loading branch information...
1 parent 4be757f commit 785239d25b4a3d6122652b9db905f1276d03fbd5 @blambeau committed Jul 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/delegator/lib/help.rb
@@ -13,7 +13,7 @@ class Help < Quickl::Command(__FILE__, __LINE__)
# Command execution
def execute(args)
if args.size != 1
- puts self.class.super_command.help
+ puts Quickl.help(Quickl.super_command(self))
else
cmd = Quickl.subcommand!(Quickl.super_command(self), args.first)
puts Quickl.help(cmd)

0 comments on commit 785239d

Please sign in to comment.