cvs: php-src /pear/scripts pearcmd.php
| From: | Pierre-Alain Joye | Date: | Mon, 26 Jan 2004 01:59:15 +0000 |
| Subject: | cvs: php-src /pear/scripts pearcmd.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-80@lists.php.net to get a copy of this message | ||
pajoye Sun Jan 25 20:59:15 2004 EDT
Modified files:
/php-src/pear/scripts pearcmd.php
Log:
- "Fix" the command name in the usage text
http://cvs.php.net/diff.php/php-src/pear/scripts/pearcmd.php?r1=1.8&r2=1.9&ty=u
Index: php-src/pear/scripts/pearcmd.php
diff -u php-src/pear/scripts/pearcmd.php:1.8 php-src/pear/scripts/pearcmd.php:1.9
--- php-src/pear/scripts/pearcmd.php:1.8 Thu Jan 8 12:33:14 2004
+++ php-src/pear/scripts/pearcmd.php Sun Jan 25 20:59:14 2004
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: pearcmd.php,v 1.8 2004/01/08 17:33:14 sniper Exp $
+// $Id: pearcmd.php,v 1.9 2004/01/26 01:59:14 pajoye Exp $
ob_end_clean();
/**
@@ -46,7 +46,8 @@
$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)) {