write consistent casing in `help` command.
This commit is contained in:
parent
c6e776f45a
commit
0ba29a8cb7
|
@ -59,8 +59,8 @@ class Pry
|
|||
# @param [Array<Pry::Command>] 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue