TextVarP is like TextVar, but accepts a shorthand letter that can be used after a single dash.
(p encoding.TextUnmarshaler, name, shorthand string, value encoding.TextMarshaler, usage string)
| 77 | |
| 78 | // TextVarP is like TextVar, but accepts a shorthand letter that can be used after a single dash. |
| 79 | func TextVarP(p encoding.TextUnmarshaler, name, shorthand string, value encoding.TextMarshaler, usage string) { |
| 80 | CommandLine.VarP(newTextValue(value, p), name, shorthand, usage) |
| 81 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…