From 07fa6d5dc4c94bbb81992af9eca00ff77b9d3a47 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 11 Mar 2012 10:38:23 -0700 Subject: [PATCH] ssh-config -h shows help [GH-793] --- CHANGELOG.md | 2 ++ lib/vagrant/command/ssh_config.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 050e93fd0..07d04d427 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ - The `--no-provision` and `--provision-with` flags are available to `vagrant reload` now. - `:openbsd` guest which supports only halting at the moment. [GH-773] + - `ssh-config -h` now shows help, instead of assuming a host is being + specified. For host, you can still use `--host`. [GH-793] ## 1.0.0 (March 6, 2012) diff --git a/lib/vagrant/command/ssh_config.rb b/lib/vagrant/command/ssh_config.rb index 5ecb082e5..953f73404 100644 --- a/lib/vagrant/command/ssh_config.rb +++ b/lib/vagrant/command/ssh_config.rb @@ -11,7 +11,7 @@ module Vagrant opts.separator "" - opts.on("-h", "--host COMMAND", "Name the host for the config..") do |h| + opts.on("--host COMMAND", "Name the host for the config..") do |h| options[:host] = h end end