From d8e4774bcf0dccb9e514b299f74ee9cbb7c3d7a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Jourdois?= Date: Sun, 11 Jul 2010 12:51:00 +0200 Subject: [PATCH] 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. --- bin/xen-create-image | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/xen-create-image b/bin/xen-create-image index 1f9c2c6..6e0eaf8 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -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' },