StringToStringVarP is like StringToStringVar, but accepts a shorthand letter that can be used after a single dash.
(p *map[string]string, name, shorthand string, value map[string]string, usage string)
| 136 | |
| 137 | // StringToStringVarP is like StringToStringVar, but accepts a shorthand letter that can be used after a single dash. |
| 138 | func StringToStringVarP(p *map[string]string, name, shorthand string, value map[string]string, usage string) { |
| 139 | CommandLine.VarP(newStringToStringValue(value, p), name, shorthand, usage) |
| 140 | } |
| 141 | |
| 142 | // StringToString defines a string flag with specified name, default value, and usage string. |
| 143 | // The return value is the address of a map[string]string variable that stores the value of the flag. |
nothing calls this directly
no test coverage detected