X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=installperl;h=86d9c2c6303a25b0dde32284a551de6135734979;hb=265757707c25dcaf2ab1b88e3380267b0db1bcba;hp=c3c4e4a45ead2e263b39a0eb919fab6168f52266;hpb=60ce24170371608f75fb4b2baa8256ab0dec3383;p=p5sagit%2Fp5-mst-13.2.git diff --git a/installperl b/installperl index c3c4e4a..86d9c2c 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; }