Lines Matching refs:flag
39 flag string member
65 flag: makeModeFlagName,
73 flag: "--dumpvar-mode",
81 flag: "--dumpvars-mode",
89 flag: "--build-mode",
234 flags := flag.NewFlagSet("dumpvar", flag.ExitOnError)
284 flags := flag.NewFlagSet("dumpvars", flag.ExitOnError)
365 flags := flag.NewFlagSet("build-mode", flag.ContinueOnError)
408 for i, flag := range buildActionFlags {
409 flags.BoolVar(&buildActionFlags[i].set, flag.name, false, flag.description)
426 for _, flag := range buildActionFlags {
427 if flag.set {
429 buildAction = flag.action
487 if c.flag == args[1] {
495 if c.flag == makeModeFlagName {