Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed command help screens

  • Loading branch information...
commit 911bcd831e77c9a8d2048e30523e73ba18305002 1 parent 4bcc399
@koraktor authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/rubikon/application/instance_methods.rb
View
6 lib/rubikon/application/instance_methods.rb
@@ -245,9 +245,9 @@ def help_command
app_help = lambda { |info| @__app__.instance_eval { help(info) } }
unless cmd.nil?
- cmd = cmd.to_sym
- if commands.key? cmd
- puts commands[cmd].help
+ name = cmd.to_sym
+ if commands.key? name
+ puts commands[name].help
else
app_help.call("The command \"#{cmd}\" is undefined. The following commands are available:")
end
Please sign in to comment.
Something went wrong with that request. Please try again.