From 8e77916a695624517786c6d679accbd5a3468985 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Thu, 16 Jun 2011 09:31:39 +0000 Subject: [PATCH] Fixed one bug in chvm with unexpect options git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/updatenode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/updatenode b/xCAT-client/bin/updatenode index df4a98072..7eee8868f 100755 --- a/xCAT-client/bin/updatenode +++ b/xCAT-client/bin/updatenode @@ -37,7 +37,7 @@ Getopt::Long::Configure("bundling"); # display the usage if -h or --help is specified my $tmp=join(' ', @ARGV); -if (!($tmp =~ /--help|-h|-v|--version/)) { +if (!($tmp =~ /--help|-h$|-v$|--version/)) { my $arg=shift(@ARGV); # Set the noderange if ($arg !~ /^-/) {