summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-08-21 18:34:23 +0100
committerAbhijit Menon-Sen <ams@wiw.org>2001-08-21 16:17:53 +0000
commit33bd2d8f0a8d0bccb1393938cc94ab135b31928f (patch)
treee815e79b652d3e41535c59922e4ed091b1ecef95 /installperl
parentfcc7d9162bf1fd237414451c224b7d78e0ae1e60 (diff)
downloadperl-33bd2d8f0a8d0bccb1393938cc94ab135b31928f.tar.gz
installperl -help
Message-Id: <20010821173423.F82818@plum.flirble.org> p4raw-id: //depot/perl@11723
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl18
1 files changed, 18 insertions, 0 deletions
diff --git a/installperl b/installperl
index c3c4e4a45e..86d9c2c630 100755
--- a/installperl
+++ b/installperl
@@ -72,6 +72,24 @@ while (@ARGV) {
$verbose = 1 if $ARGV[0] eq '-V' || $ARGV [0] eq '-n';
$archname = 1 if $ARGV[0] eq '-A';
$nwinstall = 1 if $ARGV[0] eq '-netware';
+ if ($ARGV[0] eq '-?' or $ARGV[0] =~ /^-?-h/) {
+ print <<"EOT";
+Usage $0: [switches]
+ -n Don't actually run any commands; just print them.
+ -s Run strip on installed binaries.
+ -v Only install perl as a binary with the version number in the name.
+ (Override whatever config.sh says)
+ +v Install perl as "perl" and as a binary with the version number in
+ the name. (Override whatever config.sh says)
+ -S Silent mode.
+ -o Skip checking for other copies of perl in your PATH.
+ -V Verbose mode.
+ -A Also install perl with the architecture's name in the perl binary's
+ name.
+ -netware Install correctly on a Netware server.
+EOT
+ exit;
+ }
shift;
}