summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2004-06-08 17:49:19 +0000
committerGreg Beaver <cellog@php.net>2004-06-08 17:49:19 +0000
commitb175cdfd716b116e38e0b43e26fdba22d57c2241 (patch)
tree45a2120ac3d7d0d8ded80fd79fd0debc20e2bda7 /pear
parent49fb6260b672832acfbb7e2f873633c12d500886 (diff)
downloadphp-git-b175cdfd716b116e38e0b43e26fdba22d57c2241.tar.gz
fix bug #1581: unhelpful error message if "pear blatch" is typed
Diffstat (limited to 'pear')
-rw-r--r--pear/scripts/pearcmd.php2
1 files changed, 1 insertions, 1 deletions
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'";
}
// }}}