diff --git a/lib/pry/commands/help.rb b/lib/pry/commands/help.rb index f105e8eb..eb09e615 100644 --- a/lib/pry/commands/help.rb +++ b/lib/pry/commands/help.rb @@ -59,8 +59,8 @@ class Pry # @param [Array] commands # @return [String] The generated help string. def help_text_for_commands(name, commands) - "#{text.bold(name)}\n" << commands.map do |command| - " #{command.options[:listing].to_s.ljust(18)} #{command.description}" + "#{text.bold(name.capitalize)}\n" << commands.map do |command| + " #{command.options[:listing].to_s.ljust(18)} #{command.description.capitalize}" end.join("\n") end