Sort subcommands listing
This commit is contained in:
parent
453f4774e4
commit
0a1f2158f7
|
@ -56,7 +56,8 @@ module Vagrant
|
|||
puts "Usage: vagrant SUBCOMMAND ...\n\n"
|
||||
|
||||
puts "Supported commands:"
|
||||
subcommands.each do |key, klass|
|
||||
subcommands.keys.sort.each do |key|
|
||||
klass = subcommands[key]
|
||||
puts "#{' ' * 4}#{key.ljust(20)}#{klass.description}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue