From 0f751d1d26ab3f74fbb8d43c2830d6a8de526b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Jourdois?= Date: Sun, 11 Jul 2010 12:53:23 +0200 Subject: [PATCH] Rename genpass-len to genpass_len to match default config. This makes prove t/argument-check.t pass. --- bin/xen-create-image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/xen-create-image b/bin/xen-create-image index 6e0eaf8..1274c72 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -106,7 +106,7 @@ xen-create-image - Easily create new Xen instances with networking and OpenSSH. --genpass=1 Generate a random root password - --genpass-len=N + --genpass_len=N Override the default password length of 8 and generate a random password of length N. Note: this only works in conjunction with --genpass @@ -1590,7 +1590,7 @@ sub parseCommandLineArguments "pygrub", \$CONFIG{ 'pygrub' }, "passwd", \$CONFIG{ 'passwd' }, "genpass=i", \$CONFIG{ 'genpass' }, - "genpass-len=i", \$CONFIG{ 'genpass_len' }, + "genpass_len=i", \$CONFIG{ 'genpass_len' }, "password=s", \$CONFIG{ 'password' }, "partitions=s", \$CONFIG{ 'partitions' }, "role=s", \$CONFIG{ 'role' },