]> granicus.if.org Git - php/commitdiff
fix bug #1581: unhelpful error message if "pear blatch" is typed
authorGreg Beaver <cellog@php.net>
Tue, 8 Jun 2004 17:49:19 +0000 (17:49 +0000)
committerGreg Beaver <cellog@php.net>
Tue, 8 Jun 2004 17:49:19 +0000 (17:49 +0000)
pear/scripts/pearcmd.php

index b258cdce6cf2f37a8b934bca29f3ff65076b4a0e..b7d10e5e12370804d113b4918040bee65a6167b2 100644 (file)
@@ -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'";
 }
 
 // }}}