From: Pierre Joye Date: Mon, 26 Jan 2004 01:59:14 +0000 (+0000) Subject: - "Fix" the command name in the usage text X-Git-Tag: RELEASE_1_3b6~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3507f040622d2267950f26c69b6ac30c1beb94f4;p=php - "Fix" the command name in the usage text --- diff --git a/pear/scripts/pearcmd.php b/pear/scripts/pearcmd.php index c50e15c7ab..e1d1cb15bf 100644 --- a/pear/scripts/pearcmd.php +++ b/pear/scripts/pearcmd.php @@ -46,7 +46,8 @@ PEAR_Command::setFrontendType('CLI'); $all_commands = PEAR_Command::getCommands(); $argv = Console_Getopt::readPHPArgv(); -$progname = basename($argv[0]); +/* $progname = basename($argv[0]); */ +$progname = 'pear'; array_shift($argv); $options = Console_Getopt::getopt2($argv, "c:C:d:D:Gh?sSqu:vV"); if (PEAR::isError($options)) {