Fix the mistake that the -l flag can't work with -S flag.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f1a9fa4c79
commit
0a7d9ced55
@ -220,6 +220,12 @@ sub processArgs
|
||||
}
|
||||
}
|
||||
|
||||
if ($::command eq "lsdef") {
|
||||
if (scalar(@ARGV) == 2 && (($ARGV[0] eq "-l" && $ARGV[1] eq "-S") || ($ARGV[0] eq "-S" && $ARGV[1] eq "-l"))){
|
||||
push @ARGV, "-t";
|
||||
push @ARGV, "node";
|
||||
}
|
||||
}
|
||||
if ($::command eq "lsdef") {
|
||||
if (scalar(@ARGV) == 1 && $ARGV[0] eq "-l") {
|
||||
push @ARGV, "-t";
|
||||
|
Loading…
Reference in New Issue
Block a user