Can't figure out Help()
for arg
#524
-
I'm basically trying to document a complex arg with
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
What is happening here is that you're accidentally triggering Kong's branching positional arguments. You're accidentally triggering this because of a misunderstanding of how Kong arguments work. Kong cannot parse a positional argument into a struct unless you implement a custom decoder on the enclosing struct, in this case on Finally, Here's a full example showing this behaviour. It would be good if flags/args could use |
Beta Was this translation helpful? Give feedback.
I think that Help() is actually used if it's present, but none of the help formatters will use the additional help on flags or args, only on commands, currently.