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