StringP is like String, but accepts a shorthand letter that can be used after a single dash.
(name, shorthand string, value string, usage string)
| 76 | |
| 77 | // StringP is like String, but accepts a shorthand letter that can be used after a single dash. |
| 78 | func StringP(name, shorthand string, value string, usage string) *string { |
| 79 | return CommandLine.StringP(name, shorthand, value, usage) |
| 80 | } |