mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
- "Fix" the command name in the usage text
This commit is contained in:
parent
e3af7958a5
commit
3507f04062
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user