defect 3324536: fix the issue updatenode cannot handle the node with -h inside
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0c1c053f85
commit
4234c63ce2
@ -36,8 +36,8 @@ Getopt::Long::Configure("bundling");
|
||||
# 'v|version' => \$::VERSION);
|
||||
# display the usage if -h or --help is specified
|
||||
|
||||
my $tmp=join(' ', @ARGV);
|
||||
if (!($tmp =~ /--help|-h$|-v$|--version/)) {
|
||||
my $tmp=" ".join(' ', @ARGV);
|
||||
if (!($tmp =~ / (--help|-h|-v|--version)/)) {
|
||||
my $arg=shift(@ARGV);
|
||||
# Set the noderange
|
||||
if ($arg !~ /^-/) {
|
||||
|
Loading…
Reference in New Issue
Block a user