defect 2976609: make lsdef equal to lsdef -t node

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2010-03-26 11:45:16 +00:00
parent 047dc981b6
commit 812e96221d

View File

@ -200,7 +200,8 @@ sub processArgs
@ARGV = @{$::args};
} else {
if ($::command eq "lsdef") {
push @ARGV, "-a";
push @ARGV, "-t";
push @ARGV, "node";
push @ARGV, "-s";
} else {
return 2;
@ -209,7 +210,8 @@ sub processArgs
if ($::command eq "lsdef") {
if (scalar(@ARGV) == 1 && $ARGV[0] eq "-l") {
push @ARGV, "-a";
push @ARGV, "-t";
push @ARGV, "node";
}
}
@ -2786,7 +2788,7 @@ sub defls
}
else
{
if ($#::clobjtypes > 0)
if (scalar(@::clobjtypes) > 0)
{
push (@{$rsp_info->{data}}, "$obj ($defhash{$obj}{'objtype'})");
}