mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-24 12:10:25 +00:00
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:
@@ -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 !~ /^-/) {
|
||||
|
Reference in New Issue
Block a user