Show subcommand help when try_parse returns an error #3673
-
I'm using edit: Hmm... it looks like subcommands aren't being parsed with a top level call to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
My problem stemmed from not having included the application name in the arguments, so there was an off by one issue with the indices when parsing. Prepending the name of the application to the subcommand list fixes both the help output and the functioning. |
Beta Was this translation helpful? Give feedback.
My problem stemmed from not having included the application name in the arguments, so there was an off by one issue with the indices when parsing. Prepending the name of the application to the subcommand list fixes both the help output and the functioning.