diff options
| author | John Schnake <[email protected]> | 2016-04-11 10:43:53 -0500 |
|---|---|---|
| committer | John Schnake <[email protected]> | 2016-04-11 14:19:27 -0500 |
| commit | b36bf8b7f77c3eff847e3616cfdeb9b88538453f (patch) | |
| tree | db352a6007d2989420eaf525fb1f885e2b3c6982 /bool.go | |
| parent | 1f296710f879815ad9e6d39d947c828c3e4b4c3d (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 'bool.go')
0 files changed, 0 insertions, 0 deletions
