This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove -w recommendation in perl -h
authorDavid Golden <dagolden@cpan.org>
Mon, 7 Jun 2010 11:07:10 +0000 (07:07 -0400)
committerDavid Golden <dagolden@cpan.org>
Mon, 7 Jun 2010 11:07:10 +0000 (07:07 -0400)
Abigail already said it best:

  I do not think 'perl -h' is the place to give recommendations on how
  code should be written. 'perl -h' gives a list and a brief explanation
  of the command line switches. IMO, it should do just that, and nothing
  else.

perl.c

diff --git a/perl.c b/perl.c
index 3e703a0..0edad78 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -2842,7 +2842,7 @@ S_usage(pTHX_ const char *name)           /* XXX move this out into a module ? */
 "  -U                allow unsafe operations\n"
 "  -v                print version, patchlevel and license\n"
 "  -V[:variable]     print configuration summary (or a single Config.pm variable)\n",
-"  -w                enable many useful warnings (RECOMMENDED)\n"
+"  -w                enable many useful warnings\n"
 "  -W                enable all warnings\n"
 "  -x[directory]     ignore text before #!perl line (optionally cd to directory)\n"
 "  -X                disable all warnings\n"