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:
parent
5830d4895a
commit
1e306a3892
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user