func flag.String

22 uses

	flag (current package)
		flag.go#L779: func String(name string, value string, usage string) *string {

	golang.org/x/pkgsite/cmd/frontend
		main.go#L35: 	_              = flag.String("static", "content/static", "path to folder containing static files served")
		main.go#L36: 	thirdPartyPath = flag.String("third_party", "third_party", "path to folder containing third-party libraries")
		main.go#L39: 	proxyURL       = flag.String("proxy_url", "https://proxy.golang.org", "Uses the module proxy referred to by this URL "+
		main.go#L44: 	hostAddr           = flag.String("host", "localhost:8080", "Host address for the server")

	golang.org/x/pkgsite/cmd/pkgsite
		main.go#L42: 	_          = flag.String("static", "content/static", "path to folder containing static files served")
		main.go#L44: 	httpAddr   = flag.String("http", defaultAddr, "HTTP service address to listen for incoming requests on")

	golang.org/x/pkgsite/cmd/prober
		main.go#L33: var credsFile = flag.String("creds", "", "filename for credentials, when running locally")

	golang.org/x/pkgsite/cmd/worker
		main.go#L41: 	_                  = flag.String("static", "content/static", "path to folder containing static files served")

	golang.org/x/pkgsite/devtools/cmd/csphash
		main.go#L22: var hashFile = flag.String("hf", "internal/middleware/secureheaders.go", "file with hashes for CSP header")

	testing
		benchmark.go#L26: 	matchBenchmarks = flag.String("test.bench", "", "run only benchmarks matching `regexp`")
		testing.go#L282: 	outputDir = flag.String("test.outputdir", "", "write profiles to `dir`")
		testing.go#L286: 	coverProfile = flag.String("test.coverprofile", "", "write a coverage profile to `file`")
		testing.go#L287: 	matchList = flag.String("test.list", "", "list tests, examples, and benchmarks matching `regexp` then exit")
		testing.go#L288: 	match = flag.String("test.run", "", "run only tests and examples matching `regexp`")
		testing.go#L289: 	memProfile = flag.String("test.memprofile", "", "write an allocation profile to `file`")
		testing.go#L291: 	cpuProfile = flag.String("test.cpuprofile", "", "write a cpu profile to `file`")
		testing.go#L292: 	blockProfile = flag.String("test.blockprofile", "", "write a goroutine blocking profile to `file`")
		testing.go#L294: 	mutexProfile = flag.String("test.mutexprofile", "", "write a mutex contention profile to the named file after execution")
		testing.go#L297: 	traceFile = flag.String("test.trace", "", "write an execution trace to `file`")
		testing.go#L299: 	cpuListStr = flag.String("test.cpu", "", "comma-separated `list` of cpu counts to run each test with")
		testing.go#L301: 	testlog = flag.String("test.testlogfile", "", "write test action log to `file` (for use only by cmd/go)")