-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Help): prevents invoking <cmd> help help and displaying incorrect…
… help message Previously, if one ran `<cmd> help help` an additional `help` subcommand was created and a help message displayed for it. We *could* have just thrown an error `<cmd> help help` but I worry that the message would be confusing, because something like, "Invalid Subcommand" isn't 100% correct as the form `<cmd> help <subcmd>` is allowed, and there *is* a `help` subcmd. This fix correct dispatches `<cmd> help help` to the `<cmd>` help message. Closes #538
- Loading branch information
Showing
1 changed file
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters