Merge pull request #481 from urfave/fix-subcommand-help-flag
Correctly show help message if `-h` is provided to subcommand
This commit is contained in:
commit
f4ee034378
@ -908,6 +908,7 @@ func TestApp_Run_CommandWithSubcommandHasHelpTopic(t *testing.T) {
|
||||
Name: "foo",
|
||||
Description: "descriptive wall of text about how it does foo things",
|
||||
Subcommands: []Command{subCmdBar, subCmdBaz},
|
||||
Action: func(c *Context) error { return nil },
|
||||
}
|
||||
|
||||
app.Commands = []Command{cmd}
|
||||
|
Loading…
Reference in New Issue
Block a user