Parse -nuc as well.
This commit is contained in:
1 parent
45bb7e668c
commit
5f1bf3785c
1 file changed
+3
-2
@@ -99,9 +99,10 @@ API::Std::event_add('on_sigint');
|
|||||||
API::Std::event_add('on_sighup');
|
API::Std::event_add('on_sighup');
|
||||||
|
|
||||||
# Get arguments.
|
# Get arguments.
|
||||||
our ($USECONFIG, $DEBUG);
|
our ($DEBUG, $NUC);
|
||||||
my ($opt_help, $opt_version);
|
my ($opt_help, $opt_version, $USECONFIG);
|
||||||
GetOptions(
|
GetOptions(
|
||||||
|
'nuc' => \$NUC,
|
||||||
'c=s' => \$USECONFIG,
|
'c=s' => \$USECONFIG,
|
||||||
'config=s' => \$USECONFIG,
|
'config=s' => \$USECONFIG,
|
||||||
'h' => \$opt_help,
|
'h' => \$opt_help,
|
||||||
|
|||||||
Reference in new issue
Block a user