TT#14008 set getopt require_order to avoid confusing errors

closes #1240

Change-Id: I4a9b7efb8e52f322916fa4368b80985946eb320d
pull/1285/head
Richard Fuchs 4 years ago
parent 0ae9967404
commit c939c977ec

@ -12,6 +12,8 @@ my $port;
my $conffile = '/etc/rtpengine/rtpengine.conf';
my $listen;
Getopt::Long::Configure('require_order');
my $optret = GetOptions(
'help|h' => sub { showusage(); exit 0; },
'ip=s' => \$ip,

Loading…
Cancel
Save