Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Commit 0fd3cd2

Browse files
author
Josh Wood
committed
Merge pull request #406 from joshix/doubledash0
Vmware-guestinfo: Double hyphen long options.
2 parents 0a500a1 + ad81cf7 commit 0fd3cd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/vmware-guestinfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Cloud-Config VMWare Guestinfo Variables
44

55
coreos-cloudinit accepts configuration from the VMware RPC API's *guestinfo*
6-
facility. This datasource can be enabled with the `-from-vmware-guestinfo`
6+
facility. This datasource can be enabled with the `--from-vmware-guestinfo`
77
flag to coreos-cloudinit.
88

99
The following guestinfo variables are recognized and processed by cloudinit

coreos-cloudinit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func main() {
169169

170170
dss := getDatasources()
171171
if len(dss) == 0 {
172-
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")
172+
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")
173173
os.Exit(2)
174174
}
175175

0 commit comments

Comments
 (0)