fix for bug 3299844: add -t node as default value for lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
38e1f1d9ac
commit
da15d75ae4
@ -272,6 +272,12 @@ sub processArgs
|
||||
return 2;
|
||||
}
|
||||
|
||||
# -t node is the default value
|
||||
if (!$::opt_t && !$::opt_a && ($::command eq "lsdef"))
|
||||
{
|
||||
$::opt_t = 'node';
|
||||
}
|
||||
|
||||
# Initialize some global arrays in case this is being called twice in the same process.
|
||||
# Currently only doing this when --nocache is specified, but i think it should be done all of the time.
|
||||
if ($::opt_nc) {
|
||||
|
Loading…
Reference in New Issue
Block a user