code: func (m *Meta) AddFlags(fs *flag.FlagSet) {
  	m.fs = fs
  	fs.StringVar(&m.ConfigServiceHost, "config-service-host", m.ConfigServiceHost, "Hostname of a LUCI config service to use for validation.")
  	fs.StringVar(&m.ConfigDir, "config-dir", m.ConfigDir,
  		`A directory to place generated configs into (relative to cwd if given as a
  flag otherwise relative to the main script). If '-', generated configs are just
  printed to stdout in a format useful for debugging.`)
  	fs.Var(luciflag.CommaList(&m.TrackedFiles), "tracked-files", "Globs for files considered generated, see lucicfg.config(...) doc for more info.")
  	fs.BoolVar(&m.FailOnWarnings, "fail-on-warnings", m.FailOnWarnings, "Treat validation warnings as errors.")
  }
docs: // AddFlags registers command line flags that correspond to Meta fields.