DurationP is like Duration, but accepts a shorthand letter that can be used after a single dash.
(name, shorthand string, value time.Duration, usage string)
| 82 | |
| 83 | // DurationP is like Duration, but accepts a shorthand letter that can be used after a single dash. |
| 84 | func DurationP(name, shorthand string, value time.Duration, usage string) *time.Duration { |
| 85 | return CommandLine.DurationP(name, shorthand, value, usage) |
| 86 | } |