diff --git a/plugins/commands/ssh_config/command.rb b/plugins/commands/ssh_config/command.rb index 7ca855ea5..60f88a9bb 100644 --- a/plugins/commands/ssh_config/command.rb +++ b/plugins/commands/ssh_config/command.rb @@ -11,11 +11,11 @@ module VagrantPlugins options = {} opts = OptionParser.new do |opts| - opts.banner = "Usage: vagrant ssh-config [vm-name] [-h name]" + opts.banner = "Usage: vagrant ssh-config [vm-name] [--host name]" opts.separator "" - opts.on("--host COMMAND", "Name the host for the config..") do |h| + opts.on("--host NAME", "Name the host for the config..") do |h| options[:host] = h end end