Vmware-guestinfo: Double hyphen long options.
In line with https://github.com/coreos/docs/issues/650, revert a little bit of https://github.com/coreos/coreos-cloudinit/pull/404 to document `--longoption` with two hyphens in document and Usage.
This commit is contained in:
parent
0a500a19ff
commit
ad81cf7f78
@ -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
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user