diff options
Diffstat (limited to 'lib/pry/commands/help.rb')
-rw-r--r-- | lib/pry/commands/help.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/commands/help.rb b/lib/pry/commands/help.rb index 03f82895..1dee2c64 100644 --- a/lib/pry/commands/help.rb +++ b/lib/pry/commands/help.rb @@ -60,7 +60,7 @@ class Pry # @param [Array<Pry::Command>] commands # @return [String] The generated help string. def help_text_for_commands(name, commands) - "#{bold(name.capitalize)}\n" << commands.map do |command| + "#{bold(name.capitalize)}\n" + commands.map do |command| " #{command.options[:listing].to_s.ljust(18)} " \ "#{command.description.capitalize}" end.join("\n") |