mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-15 10:50:28 +00:00
fix getopt call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -113,7 +113,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('bdismotp');
|
||||
getopt('dismot');
|
||||
# check the operands for a noderange
|
||||
while (my $a = shift(@ARGV)) {
|
||||
if (!($a =~ /=/) && !($a =~ /^-/)) {
|
||||
|
Reference in New Issue
Block a user