github/hubot — pull request #285 by technicalpickles (2012-05-13 21:19:39+00:00)
Title: Improve help output by including robot name

Most help commands look like this:

mustache me - Adds a mustache to the specified URL.

A new user to Hubot might know enough to ask him for 'help', but once
they get this, they would likely just type 'mustache me ...' without
addressing Hubot.

This would not work, since it uses 'respond', not hear, but you wouldn't
know that from this help, without reading the source.

help.coffee has even had support for replacing the 'Hubot' in the help with
running robot's name since 57f5f098d1414663f85f93af7f20f9cae1b90018.

This commit updates all the default scripts to include a 'hubot' prefix
when it makes sense.

In addition, it updates the formatting of the help:

* only use one line (second line would be cut off)
* don't pad - to match other help (sorting wouldn't guarantee them
to be grouped together)