aboutsummaryrefslogtreecommitdiff
path: root/string_slice.go
diff options
context:
space:
mode:
authorJohn Schnake <[email protected]>2016-04-11 10:43:53 -0500
committerJohn Schnake <[email protected]>2016-04-11 14:19:27 -0500
commitb36bf8b7f77c3eff847e3616cfdeb9b88538453f (patch)
treedb352a6007d2989420eaf525fb1f885e2b3c6982 /string_slice.go
parent1f296710f879815ad9e6d39d947c828c3e4b4c3d (diff)
Add simple method to see if a flagset has available flags
With the hidden and deprecated fields, it is useful to be able to ask if a flagset has any non-hdden, non-deprecated flags. One example of this is to aid in writing help templates.
Diffstat (limited to 'string_slice.go')
0 files changed, 0 insertions, 0 deletions