cvs: php4 /pear/PEAR/Command Config.php Install.php Package.php Registry.php Remote.php
| From: | Stig Bakken | Date: | Tue, 21 May 2002 01:38:54 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Command Config.php Install.php Package.php Registry.php Remote.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3992@lists.php.net to get a copy of this message | ||
ssb Mon May 20 21:38:54 2002 EDT
Modified files:
/php4/pear/PEAR/Command Config.php Install.php Package.php
Registry.php Remote.php
Log:
* added more shortcuts
Index: php4/pear/PEAR/Command/Config.php
diff -u php4/pear/PEAR/Command/Config.php:1.11 php4/pear/PEAR/Command/Config.php:1.12
--- php4/pear/PEAR/Command/Config.php:1.11 Mon May 20 21:27:51 2002
+++ php4/pear/PEAR/Command/Config.php Mon May 20 21:38:46 2002
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Config.php,v 1.11 2002/05/21 01:27:51 ssb Exp $
+// $Id: Config.php,v 1.12 2002/05/21 01:38:46 ssb Exp $
require_once "PEAR/Command/Common.php";
require_once "PEAR/Config.php";
@@ -44,6 +44,7 @@
'config-get' => array(
'summary' => 'Show One Setting',
'function' => 'doConfigGet',
+ 'shortcut' => 'cg',
'options' => array(),
'doc' => 'Displays the value of one configuration parameter. The
first argument is the name of the parameter, an optional second argument
@@ -56,6 +57,7 @@
'config-set' => array(
'summary' => 'Change Setting',
'function' => 'doConfigSet',
+ 'shortcut' => 'cs',
'options' => array(),
'doc' => 'Sets the value of one configuration parameter. The first
argument is the name of the parameter, the second argument is the new value.
Index: php4/pear/PEAR/Command/Install.php
diff -u php4/pear/PEAR/Command/Install.php:1.29 php4/pear/PEAR/Command/Install.php:1.30
--- php4/pear/PEAR/Command/Install.php:1.29 Mon May 20 21:27:52 2002
+++ php4/pear/PEAR/Command/Install.php Mon May 20 21:38:50 2002
@@ -16,7 +16,7 @@
// | Author: Stig Sæther Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: Install.php,v 1.29 2002/05/21 01:27:52 ssb Exp $
+// $Id: Install.php,v 1.30 2002/05/21 01:38:50 ssb Exp $
require_once "PEAR/Command/Common.php";
require_once "PEAR/Installer.php";
@@ -35,6 +35,7 @@
'install' => array(
'summary' => 'Install Package',
'function' => 'doInstall',
+ 'shortcut' => 'i',
'options' => array(
'force' => array(
'shortopt' => 'f',
@@ -80,6 +81,7 @@
'upgrade' => array(
'summary' => 'Upgrade Package',
'function' => 'doInstall',
+ 'shortcut' => 'up',
'options' => array(
'force' => array(
'shortopt' => 'f',
@@ -111,6 +113,7 @@
'uninstall' => array(
'summary' => 'Un-install Package',
'function' => 'doUninstall',
+ 'shortcut' => 'un',
'options' => array(
'nodeps' => array(
'shortopt' => 'n',
Index: php4/pear/PEAR/Command/Package.php
diff -u php4/pear/PEAR/Command/Package.php:1.27 php4/pear/PEAR/Command/Package.php:1.28
--- php4/pear/PEAR/Command/Package.php:1.27 Mon May 20 21:27:53 2002
+++ php4/pear/PEAR/Command/Package.php Mon May 20 21:38:50 2002
@@ -16,7 +16,7 @@
// | Author: Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: Package.php,v 1.27 2002/05/21 01:27:53 ssb Exp $
+// $Id: Package.php,v 1.28 2002/05/21 01:38:50 ssb Exp $
require_once 'PEAR/Common.php';
require_once 'PEAR/Command/Common.php';
@@ -27,6 +27,7 @@
'package' => array(
'summary' => 'Build Package',
'function' => 'doPackage',
+ 'shortcut' => 'p',
'options' => array(
'nocompress' => array(
'shortopt' => 'Z',
Index: php4/pear/PEAR/Command/Registry.php
diff -u php4/pear/PEAR/Command/Registry.php:1.11 php4/pear/PEAR/Command/Registry.php:1.12
--- php4/pear/PEAR/Command/Registry.php:1.11 Mon May 20 21:27:53 2002
+++ php4/pear/PEAR/Command/Registry.php Mon May 20 21:38:50 2002
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Registry.php,v 1.11 2002/05/21 01:27:53 ssb Exp $
+// $Id: Registry.php,v 1.12 2002/05/21 01:38:50 ssb Exp $
require_once 'PEAR/Command/Common.php';
require_once 'PEAR/Registry.php';
@@ -29,6 +29,7 @@
'list' => array(
'summary' => 'List Installed Packages',
'function' => 'doList',
+ 'shortcut' => 'l',
'options' => array(),
'doc' => '[package]
If invoked without parameters, this command lists the PEAR packages
@@ -38,8 +39,8 @@
),
'shell-test' => array(
'summary' => 'Shell Script Test',
- 'shortcut' => 'stest',
'function' => 'doShellTest',
+ 'shortcut' => 'stest',
'options' => array(),
'doc' => '<package> [[relation] version]
Tests if a package is installed in the system. Will exit(1) if it is not.
Index: php4/pear/PEAR/Command/Remote.php
diff -u php4/pear/PEAR/Command/Remote.php:1.10 php4/pear/PEAR/Command/Remote.php:1.11
--- php4/pear/PEAR/Command/Remote.php:1.10 Mon May 20 21:27:53 2002
+++ php4/pear/PEAR/Command/Remote.php Mon May 20 21:38:50 2002
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Remote.php,v 1.10 2002/05/21 01:27:53 ssb Exp $
+// $Id: Remote.php,v 1.11 2002/05/21 01:38:50 ssb Exp $
require_once 'PEAR/Command/Common.php';
require_once 'PEAR/Common.php';
@@ -28,9 +28,10 @@
// {{{ command definitions
var $commands = array(
- 'info-remote' => array(
+ 'remote-info' => array(
'summary' => 'Information About Remote Packages',
- 'function' => 'doInfoRemote',
+ 'function' => 'doRemoteInfo',
+ 'shortcut' => 'ri',
'options' => array(),
'doc' => '<package>
Get details on a package from the server.',
@@ -38,14 +39,16 @@
'list-upgrades' => array(
'summary' => 'List Available Upgrades',
'function' => 'doListUpgrades',
+ 'shortcut' => 'lu',
'options' => array(),
'doc' => '
List releases on the server of packages you have installed where
a newer version is available with the same release state (stable etc.).'
),
- 'list-remote' => array(
+ 'remote-list' => array(
'summary' => 'List Remote Packages',
- 'function' => 'doListRemote',
+ 'function' => 'doRemoteList',
+ 'shortcut' => 'rl',
'options' => array(),
'doc' => '
Lists the packages available on the configured server along with the
@@ -54,6 +57,7 @@
'download' => array(
'summary' => 'Download Package',
'function' => 'doDownload',
+ 'shortcut' => 'd',
'options' => array(
'nocompress' => array(
'shortopt' => 'Z',