Handle node range first.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-10-10 17:12:05 +00:00
parent 5830d4895a
commit 1e306a3892

View File

@ -74,8 +74,9 @@ if (grep(/^$bname$/, @checkcmds) ) {
getopts('ab:d:fh?i:l:urs:m:no:t:vVp:');
# check the operands for a noderange
while (my $a = shift(@ARGV)) {
if (!($a =~ /=/)) {
if (!($a =~ /=/) && !($a =~ /^-/)) {
$cmdref->{noderange}->[0]=$a;
last;
}
}
}