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
This commit is contained in:
parent
647b64c0a5
commit
8e77916a69
@ -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 !~ /^-/) {
|
||||
|
Loading…
Reference in New Issue
Block a user