Int64VarP is like Int64Var, but accepts a shorthand letter that can be used after a single dash.
(p *int64, name, shorthand string, value int64, usage string)
| 43 | |
| 44 | // Int64VarP is like Int64Var, but accepts a shorthand letter that can be used after a single dash. |
| 45 | func (f *FlagSet) Int64VarP(p *int64, name, shorthand string, value int64, usage string) { |
| 46 | f.VarP(newInt64Value(value, p), name, shorthand, usage) |
| 47 | } |
| 48 | |
| 49 | // Int64Var defines an int64 flag with specified name, default value, and usage string. |
| 50 | // The argument p points to an int64 variable in which to store the value of the flag. |
no test coverage detected