diff options
author | David Golden <dagolden@cpan.org> | 2010-04-13 21:36:01 -0400 |
---|---|---|
committer | David Golden <dagolden@cpan.org> | 2010-04-13 21:36:01 -0400 |
commit | 664b43951970bc09e0a4aff7d8e6ce0f08fe8a02 (patch) | |
tree | c2dab753e588f914d47822a54cb95230c9016bd9 /perl.c | |
parent | 1f317c954d04a08fbd69324135531f89b95bd969 (diff) | |
download | perl-664b43951970bc09e0a4aff7d8e6ce0f08fe8a02.tar.gz |
revert "revert perl -h changes"
Reapplies commit 482d21b3db741a7f6b59279ab7ad289307e2186b
that was reverted in commit bb87c82accf79d3e15da7fc9b646232a4c2bd47c
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2835,11 +2835,11 @@ S_usage(pTHX_ const char *name) /* XXX move this out into a module ? */ "-T enable tainting checks", "-u dump core after parsing program", "-U allow unsafe operations", -"-v print version, subversion (includes VERY IMPORTANT perl info)", +"-v print version, patchlevel and license", "-V[:variable] print configuration summary (or a single Config.pm variable)", "-w enable many useful warnings (RECOMMENDED)", "-W enable all warnings", -"-x[directory] strip off text before #!perl line and perhaps cd to directory", +"-x[directory] ignore text before #!perl line (optionally cd to directory)", "-X disable all warnings", "\n", NULL @@ -2853,6 +2853,10 @@ NULL name); while (*p) PerlIO_printf(PerlIO_stdout(), "\n %s", *p++); + + PerlIO_printf(PerlIO_stdout(), + "Run 'perldoc perl' for more help with Perl.\n\n" + ); } /* convert a string of -D options (or digits) into an int. |