mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
fix bug #1581: unhelpful error message if "pear blatch" is typed
This commit is contained in:
parent
49fb6260b6
commit
b175cdfd71
@ -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'";
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
Loading…
Reference in New Issue
Block a user