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 !~ /^-/) {