diff --git a/Documentation/vmware-guestinfo.md b/Documentation/vmware-guestinfo.md index 22e897d..c008911 100644 --- a/Documentation/vmware-guestinfo.md +++ b/Documentation/vmware-guestinfo.md @@ -3,7 +3,7 @@ ## Cloud-Config VMWare Guestinfo Variables 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. The following guestinfo variables are recognized and processed by cloudinit diff --git a/coreos-cloudinit.go b/coreos-cloudinit.go index ed5c5bd..909e8b8 100644 --- a/coreos-cloudinit.go +++ b/coreos-cloudinit.go @@ -169,7 +169,7 @@ func main() { dss := getDatasources() 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) }