From: Greg Beaver Date: Tue, 8 Jun 2004 17:49:19 +0000 (+0000) Subject: fix bug #1581: unhelpful error message if "pear blatch" is typed X-Git-Tag: php-5.0.0~252 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b175cdfd716b116e38e0b43e26fdba22d57c2241;p=php fix bug #1581: unhelpful error message if "pear blatch" is typed --- diff --git a/pear/scripts/pearcmd.php b/pear/scripts/pearcmd.php index b258cdce6c..b7d10e5e12 100644 --- a/pear/scripts/pearcmd.php +++ b/pear/scripts/pearcmd.php @@ -270,7 +270,7 @@ function cmdHelp($command) return "$progname $command [options] $help[0]\n$help[1]"; } } - return "No such command"; + return "Command '$command' is not valid, try 'pear help'"; } // }}}