mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-24 05:11:12 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user