Closed scribu closed 10 years ago
Besides showing up when running wp ssh --help, documenting the parameters also makes WP-CLI validate them.
wp ssh --help
So, when you just run wp ssh, with no parameters, you'll now get useful message, instead of a list of all the commands:
wp ssh
$ wp ssh usage: wp ssh <command> --host=<host>
Thank you @scribu! This was much needed.
Besides showing up when running
wp ssh --help
, documenting the parameters also makes WP-CLI validate them.So, when you just run
wp ssh
, with no parameters, you'll now get useful message, instead of a list of all the commands: