From dd6b25cfcbeeedb8969cd10add9cf68787889ef1 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Tue, 21 May 2002 01:38:50 +0000 Subject: * added more shortcuts --- pear/PEAR/Command/Remote.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'pear/PEAR/Command/Remote.php') diff --git a/pear/PEAR/Command/Remote.php b/pear/PEAR/Command/Remote.php index fb4fe201d1..b7b85c530a 100644 --- a/pear/PEAR/Command/Remote.php +++ b/pear/PEAR/Command/Remote.php @@ -28,9 +28,10 @@ class PEAR_Command_Remote extends PEAR_Command_Common // {{{ 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' => ' Get details on a package from the server.', @@ -38,14 +39,16 @@ Get details on a package from the server.', '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 @@ latest stable release of each package.', 'download' => array( 'summary' => 'Download Package', 'function' => 'doDownload', + 'shortcut' => 'd', 'options' => array( 'nocompress' => array( 'shortopt' => 'Z', -- cgit v1.2.1