change input parameters for getopt.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f8fc814566
commit
ac731c14e9
@ -100,7 +100,7 @@ my @checkcmds = ("nimnodeset", "mkdsklsnode", "rmdsklsnode", "xcat2nim", "nimnod
|
||||
if (grep(/^$bname$/, @checkcmds) ) {
|
||||
# strip off all options
|
||||
# use getopt instead of getopts to let long options pass through
|
||||
getopt('ab:d:Dfh?i:lurs:m:no:t:vVp:M');
|
||||
getopt('bdismotp');
|
||||
# check the operands for a noderange
|
||||
while (my $a = shift(@ARGV)) {
|
||||
if (!($a =~ /=/) && !($a =~ /^-/)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user