cvs: php-src /pear/scripts pearcmd.php

From: Date: Tue, 08 Jun 2004 17:49:19 +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-375@lists.php.net to get a copy of this message
cellog Tue Jun 8 13:49:19 2004 EDT Modified files: /php-src/pear/scripts pearcmd.php Log: fix bug #1581: unhelpful error message if "pear blatch" is typed http://cvs.php.net/diff.php/php-src/pear/scripts/pearcmd.php?r1=1.12&r2=1.13&ty=u Index: php-src/pear/scripts/pearcmd.php diff -u php-src/pear/scripts/pearcmd.php:1.12 php-src/pear/scripts/pearcmd.php:1.13 --- php-src/pear/scripts/pearcmd.php:1.12 Sun Jun 6 11:52:41 2004 +++ php-src/pear/scripts/pearcmd.php Tue Jun 8 13:49:19 2004 @@ -18,7 +18,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: pearcmd.php,v 1.12 2004/06/06 15:52:41 cellog Exp $ +// $Id: pearcmd.php,v 1.13 2004/06/08 17:49:19 cellog Exp $ ob_end_clean(); /** @@ -270,7 +270,7 @@ return "$progname $command [options] $help[0]\n$help[1]"; } } - return "No such command"; + return "Command '$command' is not valid, try 'pear help'"; } // }}}

« previous php.pear.core (#375) next »