- "Fix" the command name in the usage text

This commit is contained in:
Pierre Joye 2004-01-26 01:59:14 +00:00
parent e3af7958a5
commit 3507f04062

View 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)) {