StringArrayVar defines a string flag with specified name, default value, and usage string. The argument p points to a []string variable in which to store the value of the flag. The value of each argument will not try to be separated by comma. Use a StringSlice for that.
(p *[]string, name string, value []string, usage string)
| 88 | // The argument p points to a []string variable in which to store the value of the flag. |
| 89 | // The value of each argument will not try to be separated by comma. Use a StringSlice for that. |
| 90 | func StringArrayVar(p *[]string, name string, value []string, usage string) { |
| 91 | CommandLine.VarP(newStringArrayValue(value, p), name, "", usage) |
| 92 | } |
| 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) { |
nothing calls this directly
no test coverage detected