Permalink
Browse files

Normalize -'s and _'s in maint names and Makefile options

  • Loading branch information...
ribasushi committed Feb 4, 2012
1 parent d7c37d6 commit df65d4da1dbe1d485bb7a35f9e71898d1193e277
View
@@ -128,7 +128,9 @@ if ($Module::Install::AUTHOR and ! $ENV{MAKELEVEL}) {
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";
}
@@ -12,7 +12,7 @@
# 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;
}
@@ -24,7 +24,7 @@
******************************************************************************
*** ***
*** 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 ) ***
*** ***
******************************************************************************
******************************************************************************
File renamed without changes.
File renamed without changes.

0 comments on commit df65d4d

Please sign in to comment.