fix defect #3240, enable bundling of GetOptions to avoid ambiguity
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
75ca53396d
commit
6c98b466eb
@ -35,6 +35,8 @@ my $USAGE="Usage: ppping [-i|--interface interfaces] [-d|--debug] [-V|--verbose]
|
||||
ppping -v|--version\n";
|
||||
|
||||
# Parse the options
|
||||
require Getopt::Long;
|
||||
Getopt::Long::Configure ("bundling");
|
||||
if(!GetOptions(
|
||||
'h|help' => \$::HELP,
|
||||
'v|version' => \$::VERSION,
|
||||
|
Loading…
Reference in New Issue
Block a user