Issue 1927: 'help' SSH command that lists available commands
Status:  New
Owner: ----
Reported by piotr.fi...@gmail.com, May 23, 2013
There should be an SSH command (e.g. 'help') that lists all available SSH commands.

The listing should contain short description and/or a link to docs (i think this information may not be available at run-time but can be made so).

This is important, since plugins can contribute their own SSH commands. There is a need to know what commands are available at given gerrit instance but the official documentation (like http://gerrit-documentation.googlecode.com/svn/Documentation/2.6/cmd-index.html) won't cover that.
May 23, 2013
#1 piotr.fi...@gmail.com
 Issue 296  was supposed to cover that ("list of commands and/or a link to the Gerrit documentation") but it does not seem to eventually have covered that.
May 23, 2013
Project Member #2 david.pu...@sonymobile.com
In Gerrit 2.6 you can do:

 $ ssh -p 29418 user@review.mysite.com gerrit

which will return a list of commands and descriptions.  See [1] for more details.

[1] https://gerrit-review.googlesource.com/#/c/41100/

May 27, 2013
#3 piotr.fi...@gmail.com
Thanks, I didn't know that.

Maybe it would be user friendly to replace

------------------
Gerrit Code Review: help: not found
------------------

with the following?

------------------
Gerrit Code Review: help: not found. Use 'gerrit' to list available commands
------------------