From ae0ceb10ce1e1eb80c0ce718f6eb5c299494b760 Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 13 Oct 2008 15:57:54 +0000 Subject: [PATCH] Fix flag option in getopts git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2336 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 aa5de9483..baf1d03d6 100755 --- a/xCAT-client/bin/xcatDBcmds +++ b/xCAT-client/bin/xcatDBcmds @@ -71,7 +71,7 @@ foreach my $a (@ARGV) my @checkcmds = ("nimnodeset", "mkdsklsnode", "rmdsklsnode", "xcat2nim", "nimnodecust"); if (grep(/^$bname$/, @checkcmds) ) { # strip off all options - getopts('ab:d:f:h?i:l:urs:m:no:t:vVp:'); + getopts('ab:d:fh?i:l:urs:m:no:t:vVp:'); # check the operands for a noderange while (my $a = shift(@ARGV)) { if (!($a =~ /=/)) {