func MergeFlagSet(fs1, fs2 *gnuflag.FlagSet) *gnuflag.FlagSet { fs2.VisitAll(func(flag *gnuflag.Flag) { fs1.Var(flag.Value, flag.Name, flag.Usage) }) return fs1 }
func (c *dockerCmd) addMany(fs *gnuflag.FlagSet, val gnuflag.Value, desc string, triggers ...string) { for _, t := range triggers { fs.Var(val, t, desc) } }