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:
yinle 2011-02-20 13:25:32 +00:00
parent 7305725c39
commit 86fded6cad

View File

@ -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") {