diff options
author | Pierre Joye <pajoye@php.net> | 2004-01-26 01:59:14 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2004-01-26 01:59:14 +0000 |
commit | 3507f040622d2267950f26c69b6ac30c1beb94f4 (patch) | |
tree | dd0950218a07e02258551a7340868984e84455b1 | |
parent | e3af7958a59ae6ad08a295dc311e911cf9bc4752 (diff) | |
download | php-git-3507f040622d2267950f26c69b6ac30c1beb94f4.tar.gz |
- "Fix" the command name in the usage text
-rw-r--r-- | pear/scripts/pearcmd.php | 3 |
1 files changed, 2 insertions, 1 deletions
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)) { |