Add D option

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2010-03-01 13:48:42 +00:00
parent 60a2d36b37
commit b2512d767c

View File

@ -99,7 +99,7 @@ foreach my $a (@ARGV)
my @checkcmds = ("nimnodeset", "mkdsklsnode", "rmdsklsnode", "xcat2nim", "nimnodecust");
if (grep(/^$bname$/, @checkcmds) ) {
# strip off all options
getopts('ab:d:fh?i:lurs:m:no:t:vVp:M');
getopts('ab:d:Dfh?i:lurs:m:no:t:vVp:M');
# check the operands for a noderange
while (my $a = shift(@ARGV)) {
if (!($a =~ /=/) && !($a =~ /^-/)) {