Merge pull request #406 from joshix/doubledash0

Vmware-guestinfo: Double hyphen long options.
This commit is contained in:
Josh Wood 2015-11-10 10:21:06 -08:00
commit 0fd3cd2fae
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
## Cloud-Config VMWare Guestinfo Variables ## Cloud-Config VMWare Guestinfo Variables
coreos-cloudinit accepts configuration from the VMware RPC API's *guestinfo* coreos-cloudinit accepts configuration from the VMware RPC API's *guestinfo*
facility. This datasource can be enabled with the `-from-vmware-guestinfo` facility. This datasource can be enabled with the `--from-vmware-guestinfo`
flag to coreos-cloudinit. flag to coreos-cloudinit.
The following guestinfo variables are recognized and processed by cloudinit The following guestinfo variables are recognized and processed by cloudinit

View File

@ -169,7 +169,7 @@ func main() {
dss := getDatasources() dss := getDatasources()
if len(dss) == 0 { if len(dss) == 0 {
fmt.Println("Provide at least one of -from-file, -from-configdrive, -from-ec2-metadata, -from-cloudsigma-metadata, -from-packet-metadata, -from-digitalocean-metadata, -from-vmware-guestinfo, -from-waagent, -from-url or -from-proc-cmdline") fmt.Println("Provide at least one of --from-file, --from-configdrive, --from-ec2-metadata, --from-cloudsigma-metadata, --from-packet-metadata, --from-digitalocean-metadata, --from-vmware-guestinfo, --from-waagent, --from-url or --from-proc-cmdline")
os.Exit(2) os.Exit(2)
} }