From 3507f040622d2267950f26c69b6ac30c1beb94f4 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 26 Jan 2004 01:59:14 +0000 Subject: [PATCH] - "Fix" the command name in the usage text --- pear/scripts/pearcmd.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) { -- 2.40.0