Fix docs re. Help() interface.

Fixes #241.
This commit is contained in:
Alec Thomas
2021-11-30 21:39:35 +11:00
parent ff839dc6db
commit 342263cb51
+3 -2
View File
@@ -130,8 +130,9 @@ including `help:""` and other tags. [Variables](#variable-interpolation) will
also be interpolated into the help string.
Finally, any command, argument, or flag type implementing the interface
`Help() string` will have this function called to retrieve the help string.
This allows for much more descriptive text than can fit in Go tags.
`Help() string` will have this function called to retrieve more detail to
augment the help tag. This allows for much more descriptive text than can
fit in Go tags.
## Command handling