StringArrayVarP is like StringArrayVar, but accepts a shorthand letter that can be used after a single dash.
(p *[]string, name, shorthand string, value []string, usage string)
| 93 | |
| 94 | // StringArrayVarP is like StringArrayVar, but accepts a shorthand letter that can be used after a single dash. |
| 95 | func StringArrayVarP(p *[]string, name, shorthand string, value []string, usage string) { |
| 96 | CommandLine.VarP(newStringArrayValue(value, p), name, shorthand, usage) |
| 97 | } |
| 98 | |
| 99 | // StringArray defines a string flag with specified name, default value, and usage string. |
| 100 | // The return value is the address of a []string variable that stores the value of the flag. |
nothing calls this directly
no test coverage detected