Merge pull request #647 from sigi/fix-help-for-subcommands
Fix 'box help' subcommand for Ruby 1.8.7
This commit is contained in:
commit
04126eb20d
|
@ -41,7 +41,7 @@ module Vagrant
|
||||||
# Add the available subcommands as separators in order to print them
|
# Add the available subcommands as separators in order to print them
|
||||||
# out as well.
|
# out as well.
|
||||||
keys = []
|
keys = []
|
||||||
@subcommands.each { |key, value| keys << key }
|
@subcommands.each { |key, value| keys << key.to_s }
|
||||||
|
|
||||||
keys.sort.each do |key|
|
keys.sort.each do |key|
|
||||||
opts.separator " #{key}"
|
opts.separator " #{key}"
|
||||||
|
|
Loading…
Reference in New Issue