Skip to content

Commit 9b3b6ec

Browse files
committed
replaced '.map{|_,o| o}' on hash with '.values'
1 parent 46db15d commit 9b3b6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/thor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def command_help(shell, command_name)
174174
shell.say "Usage:"
175175
shell.say " #{banner(command)}"
176176
shell.say
177-
class_options_help(shell, nil => command.options.map { |_, o| o })
177+
class_options_help(shell, nil => command.options.values)
178178
if command.long_description
179179
shell.say "Description:"
180180
shell.print_wrapped(command.long_description, :indent => 2)

0 commit comments

Comments
 (0)