From 5a3f5c2eb1a57c7793b6a1d649cd56cd811062fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mon=20ou=C3=AFe?= Date: Mon, 25 Apr 2011 20:05:51 +0200 Subject: [PATCH] Fixed default help command when asking documentation of a specific command --- lib/pry/command_set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/command_set.rb b/lib/pry/command_set.rb index dd413517..c7c098ca 100644 --- a/lib/pry/command_set.rb +++ b/lib/pry/command_set.rb @@ -134,7 +134,7 @@ class Pry stagger_output(help_text) else - if command = comands[cmd] + if command = commands[cmd] output.puts command.description else output.puts "No info for command: #{cmd}"