Skip to content

Commit 38596a0

Browse files
committed
add line in doc.go about hiding a subcommand from help
1 parent 4735a7c commit 38596a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,6 @@
3636
// Other valid tag strings are `positional` and `required`.
3737
//
3838
// Fields can be excluded from processing with `arg:"-"`.
39+
//
40+
// Explicitly setting `help:"-"` on a subcommand will hide it from the help output.
3941
package arg

0 commit comments

Comments
 (0)