Parse -nuc as well.

This commit is contained in:
Elijah Perrault committed 2011-03-02 22:17:18 -07:00
1 parent 45bb7e668c
commit 5f1bf3785c
1 file changed
+3 -2
+3 -2
View File
@@ -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,