summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/scripts/pearcmd.php3
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)) {