From cc2c6a2d80a066e6767ed21ce55e7e6b96e3027c Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 14 Dec 2011 15:32:13 +0000 Subject: [PATCH] fix getopt call git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11244 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 81c51191d..b63c7e467 100755 --- a/xCAT-client/bin/xcatDBcmds +++ b/xCAT-client/bin/xcatDBcmds @@ -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 =~ /^-/)) {