my $args = {
skip_author_deps => undef,
};
- $getopt->getoptions($args, 'skip_author_deps');
+ $getopt->getoptions($args, qw/
+ skip_author_deps|skip-author-deps
+ /);
if (@ARGV) {
warn "\nIgnoring unrecognized option(s): @ARGV\n\n";
}
# better error message in case of missing dep
eval { require Module::Install::AuthorTests }
- || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL in author mode (or supply --skip_author_deps):\n\n$@\n";
+ || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL in author mode (or add --skip-author-deps):\n\n$@\n";
die $err;
}
******************************************************************************
*** ***
*** AUTHOR MODE: all optional test dependencies converted to hard requires ***
-*** ( to disable re-run Makefile.PL with --skip_author_deps ) ***
+*** ( to disable re-run Makefile.PL with --skip-author-deps ) ***
*** ***
******************************************************************************
******************************************************************************