From b175cdfd716b116e38e0b43e26fdba22d57c2241 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Tue, 8 Jun 2004 17:49:19 +0000 Subject: fix bug #1581: unhelpful error message if "pear blatch" is typed --- pear/scripts/pearcmd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pear') 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'"; } // }}} -- cgit v1.2.1