BoolFuncP is like BoolFunc, but accepts a shorthand letter that can be used after a single dash.
(name, shorthand string, usage string, fn func(string) error)
| 36 | |
| 37 | // BoolFuncP is like BoolFunc, but accepts a shorthand letter that can be used after a single dash. |
| 38 | func BoolFuncP(name, shorthand string, usage string, fn func(string) error) { |
| 39 | CommandLine.BoolFuncP(name, shorthand, usage, fn) |
| 40 | } |