Skip to content

Commit

Permalink
Remove duplicate CLI options
Browse files Browse the repository at this point in the history
Getopt::Long started warning about duplicate options in
version 2.55 and the change notes say it will become a
fatal error in a future release.
  • Loading branch information
cbrandtbuffalo committed May 24, 2024
1 parent da31670 commit 6402fed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion sbin/rt-ldapimport.in
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ my %OPT = (
use RT::Interface::CLI qw(Init);
Init(
\%OPT,
'debug',
'import',
'users!', 'groups!');

Expand Down
4 changes: 2 additions & 2 deletions sbin/rt-setup-database.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ my %args = (
GetOptions(
\%args,
'action=s',
'force', 'debug',
'dba=s', 'dba-password=s', 'prompt-for-dba-password', 'package=s',
'force',
'dba=s', 'dba-password=s', 'prompt-for-dba-password',
'datafile=s', 'datadir=s', 'skip-create', 'root-password-file=s',
'package=s', 'ext-version=s',
'upgrade-from=s', 'upgrade-to=s',
Expand Down

0 comments on commit 6402fed

Please sign in to comment.