Skip to content

Commit

Permalink
replaced '.map{|_,o| o}' on hash with '.values'
Browse files Browse the repository at this point in the history
  • Loading branch information
humzashah committed Dec 12, 2015
1 parent 46db15d commit 9b3b6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thor.rb
Expand Up @@ -174,7 +174,7 @@ def command_help(shell, command_name)
shell.say "Usage:"
shell.say " #{banner(command)}"
shell.say
class_options_help(shell, nil => command.options.map { |_, o| o })
class_options_help(shell, nil => command.options.values)
if command.long_description
shell.say "Description:"
shell.print_wrapped(command.long_description, :indent => 2)
Expand Down

0 comments on commit 9b3b6ec

Please sign in to comment.