Lines Matching refs:flag
23 list = flag.Bool("l", false, "list files whose formatting differs from bpfmt's")
24 overwriteSourceFile = flag.Bool("w", false, "write result to (source) file")
25 writeToStout = flag.Bool("o", false, "write result to stdout")
26 doDiff = flag.Bool("d", false, "display diffs instead of rewriting files")
27 sortLists = flag.Bool("s", false, "sort arrays")
46 flag.PrintDefaults()
128 flag.Usage = usage
129 flag.Parse()
135 if flag.NArg() == 0 {
147 for i := 0; i < flag.NArg(); i++ {
148 path := flag.Arg(i)