Uint32P is like Uint32, but accepts a shorthand letter that can be used after a single dash.
(name, shorthand string, value uint32, usage string)
| 71 | |
| 72 | // Uint32P is like Uint32, but accepts a shorthand letter that can be used after a single dash. |
| 73 | func (f *FlagSet) Uint32P(name, shorthand string, value uint32, usage string) *uint32 { |
| 74 | p := new(uint32) |
| 75 | f.Uint32VarP(p, name, shorthand, value, usage) |
| 76 | return p |
| 77 | } |
| 78 | |
| 79 | // Uint32 defines a uint32 flag with specified name, default value, and usage string. |
| 80 | // The return value is the address of a uint32 variable that stores the value of the flag. |
no test coverage detected