Remove hyphen in options.
Options no-hosts and copy-hosts do not have hyphens in default configuration. This helps to prove t/argument-check.t.
This commit is contained in:
parent
c0c5c3a8f4
commit
d8e4774bcf
@ -92,9 +92,9 @@ xen-create-image - Easily create new Xen instances with networking and OpenSSH.
|
||||
|
||||
--hooks=1 Specify whether to run hooks after the image is created.
|
||||
|
||||
--no-hosts Don't touch /etc/hosts on the dom0.
|
||||
--nohosts Don't touch /etc/hosts on the dom0.
|
||||
|
||||
--copy-hosts Copy entries from the dom0's /etc/hosts file to the guest
|
||||
--copyhosts Copy entries from the dom0's /etc/hosts file to the guest
|
||||
|
||||
--partitions=file
|
||||
Use a specific partition layout configuration file.
|
||||
@ -1550,8 +1550,8 @@ sub parseCommandLineArguments
|
||||
|
||||
|
||||
# Hosts options
|
||||
"no-hosts", \$CONFIG{ 'nohosts' },
|
||||
"copy-hosts", \$CONFIG{ 'copyhosts' },
|
||||
"nohosts", \$CONFIG{ 'nohosts' },
|
||||
"copyhosts", \$CONFIG{ 'copyhosts' },
|
||||
|
||||
# Networking options
|
||||
"dhcp", \$CONFIG{ 'dhcp' },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user