lib/vagrant-zones/command/console.rb in vagrant-zones-0.1.80 vs lib/vagrant-zones/command/console.rb in vagrant-zones-0.1.81
- old
+ new
@@ -47,10 +47,10 @@
subopts.separator ''
subopts.separator 'Available subcommands:'
# Add the available subcommands as separators in order to print them
# out as well.
keys = []
- @subcommands.each_key { |key| keys << key.to_s }
+ @subcommands.each { |(key, _value)| keys << key.to_s }
keys.sort.each do |key|
subopts.separator " #{key}"
end
subopts.separator 'For help on any individual subcommand run `vagrant zone console <subcommand> -h`'
end