Minor message cleanup.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2008-01-29 13:17:35 +00:00
parent b069511056
commit 318d3ece5b

View File

@ -402,8 +402,11 @@ sub processArgs
# make the default type = 'node' if not specified
push(@::clobjtypes, 'node');
my $rsp;
$rsp->{data}->[0] = "Assuming an object type of \'node\'.\n";
xCAT::MsgUtils->message("I", $rsp, $::callback);
if ( !$::opt_z && !$::opt_x) {
# don't want this msg in stanza or xml output
$rsp->{data}->[0] = "Assuming an object type of \'node\'.\n";
xCAT::MsgUtils->message("I", $rsp, $::callback);
}
}
# if user specifies "-t" & "-h" they want valid type or attrs info