FSP/BPA redundancy: modify the process of flag -S with lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7305725c39
commit
86fded6cad
@ -207,6 +207,16 @@ sub processArgs
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if ( scalar(@{$::args}) eq 1 and $::args->[0] eq '-S')
|
||||
{
|
||||
if ($::command eq "lsdef") {
|
||||
push @ARGV, "-t";
|
||||
push @ARGV, "node";
|
||||
push @ARGV, "-s";
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
if ($::command eq "lsdef") {
|
||||
if (scalar(@ARGV) == 1 && $ARGV[0] eq "-l") {
|
||||
|
Loading…
Reference in New Issue
Block a user