Uint16VarP is like Uint16Var, but accepts a shorthand letter that can be used after a single dash.
(p *uint16, name, shorthand string, value uint16, usage string)
| 47 | |
| 48 | // Uint16VarP is like Uint16Var, but accepts a shorthand letter that can be used after a single dash. |
| 49 | func (f *FlagSet) Uint16VarP(p *uint16, name, shorthand string, value uint16, usage string) { |
| 50 | f.VarP(newUint16Value(value, p), name, shorthand, usage) |
| 51 | } |
| 52 | |
| 53 | // Uint16Var defines a uint flag with specified name, default value, and usage string. |
| 54 | // The argument p points to a uint variable in which to store the value of the flag. |
no test coverage detected