-
After calling I have not found a way looking at e.g. How can I determine if help or version default commands will be invoked parsing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
There's not a one-shot way to do so, but if you investigate |
Beta Was this translation helpful? Give feedback.
There's not a one-shot way to do so, but if you investigate
ParseResult.CommandResult.Children
, if help or version were called one of the children will be anOptionResult
, whoseOptionResult.Option.Name
will be--help
,--version
, etc.