From f176347fbe5a4e06b4d35789f88579488ef14014 Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 27 Jan 2010 15:06:04 +0000 Subject: [PATCH] Modify getopts call. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/xcatDBcmds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/xcatDBcmds b/xCAT-client/bin/xcatDBcmds index 87aba83b0..d44fb6b1f 100755 --- a/xCAT-client/bin/xcatDBcmds +++ b/xCAT-client/bin/xcatDBcmds @@ -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:l:urs:m:no:t:vVp:'); + getopts('ab:d:fh?i:lurs:m:no:t:vVp:M'); # check the operands for a noderange while (my $a = shift(@ARGV)) { if (!($a =~ /=/) && !($a =~ /^-/)) {