]> granicus.if.org Git - php/commitdiff
- "Fix" the command name in the usage text
authorPierre Joye <pajoye@php.net>
Mon, 26 Jan 2004 01:59:14 +0000 (01:59 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 26 Jan 2004 01:59:14 +0000 (01:59 +0000)
pear/scripts/pearcmd.php

index c50e15c7abe78774e384a4828904430b15ffcc9b..e1d1cb15bf5e737042fb319a7d479592d83f6b9d 100644 (file)
@@ -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)) {