// StringSliceVar 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.
178444
func StringSliceVar(p *[]string, value []string, name, usage string) {
	flag.Var(NewStringSlice(value, p), name, usage)
}
680893
func (fs *FlagSet) UintVar(p *uint, names []string, value uint, usage string) {
	fs.Var(newUintValue(value, p), names, usage)
}
886625
func (fs *FlagSet) Uint64Var(p *uint64, names []string, value uint64, usage string) {
	fs.Var(newUint64Value(value, p), names, usage)
}
244236
func StringList(v ...Stringable) *StringListExpr {
	rv := &StringListExpr{Literal: []*StringExpr{}}
	for _, item := range v {
		rv.Literal = append(rv.Literal, item.String())
	}
	return rv
}
827873
func Int64Var(flagVar *int64, short string, long string, value int64, usage string) *int64 {
	flag.Int64Var(flagVar, short, value, usage)
	flag.Int64Var(flagVar, long, value, usage)
	addKeyDescription(short, long, value, usage)
	return flagVar
}
1015056
func isStringInSlice(term string, list []string) bool {
	for _, found := range list {
		if term == found {
			return true
		}
	}
	return false
}
309677
func (cmd *CLI) DefineUint64FlagVar(p *uint64, name string, value uint64, usage string) {
	cmd.DefineFlag(values.NewUint64(value, p), name, usage)
}
514581
func (f *FlagSet) StringVar(p *string, name string, value string, usage string) {
	f.Var(newStringValue(value, p), name, usage)
}
698645
func (f *FlagSet) IPMaskVar(p *net.IPMask, name string, value net.IPMask, usage string) {
	f.VarP(newIPMaskValue(value, p), name, "", usage)
}
1169519
func (a NetworkAddresses) StringSlice() []string {
	var res []string
	for _, el := range a {
		res = append(res, el)
	}
	return res
}
393398
func StringInSlice(needle string, haystack []string) bool {
	for _, b := range haystack {
		if strings.ToLower(b) == strings.ToLower(needle) {
			return true
		}
	}
	return false
}
731186
func StringSlice(src []string) []*string {
	dst := make([]*string, len(src))
	for i := 0; i < len(src); i++ {
		dst[i] = &(src[i])
	}
	return dst
}
1012055
func (cmd *CLI) DefineStringFlagVar(p *string, name string, value string, usage string) {
	cmd.DefineFlag(values.NewString(value, p), name, usage)
}
1278624
func EnumVar(p *string, name rune, values []string, helpvalue ...string) Option {
	return CommandLine.EnumVar(p, name, values, helpvalue...)
}
199531
func StringToSlice(data string) *Slice {
	return NewSlice(C.CString(data), C.size_t(len(data)))
}
1193938
func (ss StringSlice) Value() (driver.Value, error) {
	v := make([]string, len(ss))
	for i, s := range ss {
		v[i] = `"` + strings.Replace(strings.Replace(s, `\`, `\\\`, -1), `"`, `\"`, -1) + `"`
	}
	return "{" + strings.Join(v, ",") + "}", nil
}
718719
func (c *Context) StringSlice(name string) []string {
	return lookupStringSlice(name, c.flagSet)
}