Lines Matching refs:flag
25 list = flag.Bool("l", false, "list files that would be modified by bpmodify")
26 write = flag.Bool("w", false, "write result to (source) file instead of stdout")
27 doDiff = flag.Bool("d", false, "display diffs instead of rewriting files")
28 sortLists = flag.Bool("s", false, "sort touched lists, even if they were unsorted")
38 flag.Var(targetedModules, "m", "comma or whitespace separated list of modules on which to operate")
39 flag.Var(targetedProperty, "parameter", "alias to -property=`name`")
40 …flag.Var(targetedProperty, "property", "fully qualified `name` of property to modify (default \"de…
41 flag.Var(addIdents, "a", "comma or whitespace separated list of identifiers to add")
42 flag.Var(removeIdents, "r", "comma or whitespace separated list of identifiers to remove")
43 flag.Var(stringPtrFlag{&setString}, "str", "set a string property")
44 flag.Usage = usage
57 fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [flags] [path ...]\n", os.Args[0])
58 flag.PrintDefaults()
305 flag.Parse()
311 if flag.NArg() == 0 {
332 for i := 0; i < flag.NArg(); i++ {
333 path := flag.Arg(i)
418 var _ flag.Getter = (*qualifiedProperty)(nil)