summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-04-22 12:42:37 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-04-22 12:42:37 +0000
commitf71cb6df11614c54913a9f429bb3d009a4951ed5 (patch)
treef4fb823822dcd43109b45ca1417ed8212bfc6c91 /perl.c
parentb8443148095870afff102e04226f4cf527a66f93 (diff)
downloadperl-f71cb6df11614c54913a9f429bb3d009a4951ed5.tar.gz
There's no point listing '-f' in --help output
when perl isn't built with USE_SITECUSTOMIZE, since it might confuse users about $sitelib/sitecustomize.pl being sourced at startup. p4raw-id: //depot/perl@24287
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 32b660311b..3bb3a8eef5 100644
--- a/perl.c
+++ b/perl.c
@@ -2445,7 +2445,9 @@ S_usage(pTHX_ const char *name) /* XXX move this out into a module ? */
"-d[:debugger] run program under debugger",
"-D[number/list] set debugging flags (argument is a bit mask or alphabets)",
"-e program one line of program (several -e's allowed, omit programfile)",
+#ifdef USE_SITECUSTOMIZE
"-f don't do $sitelib/sitecustomize.pl at startup",
+#endif
"-F/pattern/ split() pattern for -a switch (//'s are optional)",
"-i[extension] edit <> files in place (makes backup if extension supplied)",
"-Idirectory specify @INC/#include directory (several -I's allowed)",