From 5c4ee75f4e67c6fc384d7a2b3abdce3698b6633b Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Mon, 9 Feb 2015 10:18:55 +1000 Subject: [PATCH] Add driver names to a few flag descriptions to make is consistent Signed-off-by: Sven Dowideit --- drivers/google/google.go | 2 +- drivers/hyperv/hyperv_windows.go | 10 +++++----- drivers/openstack/openstack.go | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/google/google.go b/drivers/google/google.go index 0f2fccd5b4..0d58855fb1 100644 --- a/drivers/google/google.go +++ b/drivers/google/google.go @@ -65,7 +65,7 @@ func GetCreateFlags() []cli.Flag { }, cli.StringFlag{ Name: "google-username", - Usage: "User Name", + Usage: "GCE User Name", Value: "docker-user", EnvVar: "GOOGLE_USERNAME", }, diff --git a/drivers/hyperv/hyperv_windows.go b/drivers/hyperv/hyperv_windows.go index 256c800f12..ad9a7930f7 100644 --- a/drivers/hyperv/hyperv_windows.go +++ b/drivers/hyperv/hyperv_windows.go @@ -48,24 +48,24 @@ func GetCreateFlags() []cli.Flag { return []cli.Flag{ cli.StringFlag{ Name: "hyper-v-boot2docker-url", - Usage: "The URL of the boot2docker image. Defaults to the latest available version.", + Usage: "Hyper-V URL of the boot2docker image. Defaults to the latest available version.", }, cli.StringFlag{ Name: "hyper-v-boot2docker-location", - Usage: "Local boot2docker iso. Overrides URL.", + Usage: "Hyper-V local boot2docker iso. Overrides URL.", }, cli.StringFlag{ Name: "hyper-v-virtual-switch", - Usage: "Name of virtual switch. Defaults to first found.", + Usage: "Hyper-V virtual switch name. Defaults to first found.", }, cli.IntFlag{ Name: "hyper-v-disk-size", - Usage: "Size of disk for host in MB.", + Usage: "Hyper-V disk size for host in MB.", Value: 20000, }, cli.IntFlag{ Name: "hyper-v-memory", - Usage: "Size of memory for host in MB.", + Usage: "Hyper-V memory size for host in MB.", Value: 1024, }, } diff --git a/drivers/openstack/openstack.go b/drivers/openstack/openstack.go index 0f4a13c42d..01d9b90a2e 100644 --- a/drivers/openstack/openstack.go +++ b/drivers/openstack/openstack.go @@ -176,7 +176,7 @@ func GetCreateFlags() []cli.Flag { // the BoolFlag default value is always false cli.StringFlag{ Name: "openstack-docker-install", - Usage: "Set if docker have to be installed on the machine", + Usage: "Openstack should install docker on the machine", Value: "true", }, }