diff options
author | Stig Bakken <ssb@php.net> | 2002-10-10 01:02:42 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2002-10-10 01:02:42 +0000 |
commit | bb607d2d62f85bc0187889dfa6eb3cf29a2a3917 (patch) | |
tree | d96f39246480cd00c8cfa67233bd36604af5666a | |
parent | 23940217656e5c986b1c39b3447b22dd51681a4e (diff) | |
download | php-git-bb607d2d62f85bc0187889dfa6eb3cf29a2a3917.tar.gz |
* add --installroot / -R option to install/upgrade commands
-rw-r--r-- | pear/PEAR/Command/Install.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pear/PEAR/Command/Install.php b/pear/PEAR/Command/Install.php index ebdb169889..fd3ed39f24 100644 --- a/pear/PEAR/Command/Install.php +++ b/pear/PEAR/Command/Install.php @@ -61,6 +61,11 @@ class PEAR_Command_Install extends PEAR_Command_Common 'shortopt' => 'Z', 'doc' => 'request uncompressed files when downloading', ), + 'installroot' => array( + 'shortopt' => 'R', + 'arg' => 'DIR', + 'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)', + ), ), 'doc' => '<package> ... Installs one or more PEAR packages. You can specify a package to @@ -107,6 +112,11 @@ four ways of specifying packages. 'shortopt' => 'Z', 'doc' => 'request uncompressed files when downloading', ), + 'installroot' => array( + 'shortopt' => 'R', + 'arg' => 'DIR', + 'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)', + ), ), 'doc' => '<package> ... Upgrades one or more PEAR packages. See documentation for the @@ -139,6 +149,11 @@ More than one package may be specified at once. 'shortopt' => 'Z', 'doc' => 'request uncompressed files when downloading', ), + 'installroot' => array( + 'shortopt' => 'R', + 'arg' => 'DIR', + 'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)', + ), ), 'doc' => ' Upgrades all packages that have a newer release available. Upgrades are @@ -159,6 +174,11 @@ more stable. 'shortopt' => 'r', 'doc' => 'do not remove files, only register the packages as not installed', ), + 'installroot' => array( + 'shortopt' => 'R', + 'arg' => 'DIR', + 'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)', + ), ), 'doc' => '<package> ... Uninstalls one or more PEAR packages. More than one package may be |