davetron5000/gli — pull request #156 by tokengeek (2013-09-12 11:10:31+00:00)
Title: Fixes #154 --help works with subcommands

The error handling was only passing the last level of the command
into the help handler. So help was looking for "subcommand" in place
of "command subcommand" and missing it.

This adds `GLI::Command#name_for_help` which returns the array of
names needed for the help lookup to work but can be refined in future.