When listing subcommands, subcommand without descriptions are ignored
This commit is contained in:
parent
575a9f1021
commit
4bc4597e01
|
@ -58,6 +58,8 @@ module Vagrant
|
|||
puts "Supported commands:"
|
||||
subcommands.keys.sort.each do |key|
|
||||
klass = subcommands[key]
|
||||
next if klass.description.empty?
|
||||
|
||||
puts "#{' ' * 4}#{key.ljust(20)}#{klass.description}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue