Merge pull request #647 from sigi/fix-help-for-subcommands

Fix 'box help' subcommand for Ruby 1.8.7
This commit is contained in:
Mitchell Hashimoto 2012-01-18 09:21:03 -08:00
commit 04126eb20d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ module Vagrant
# Add the available subcommands as separators in order to print them
# out as well.
keys = []
@subcommands.each { |key, value| keys << key }
@subcommands.each { |key, value| keys << key.to_s }
keys.sort.each do |key|
opts.separator " #{key}"