- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for CountFlags (0.19 sec)
-
src/cmd/fix/main.go
fmt.Fprintf(os.Stderr, "\t%s\n", desc) } os.Exit(2) } func main() { telemetry.Start() flag.Usage = usage flag.Parse() telemetry.Inc("fix/invocations") telemetry.CountFlags("fix/flag:", *flag.CommandLine) if !version.IsValid(*goVersion) { report(fmt.Errorf("invalid -go=%s", *goVersion)) os.Exit(exitCode) } sort.Sort(byDate(fixes)) if *allowedRewrites != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/test2json/main.go
func ignoreSignals() { signal.Ignore(signalsToIgnore...) } func main() { telemetry.Start() flag.Usage = usage flag.Parse() telemetry.Inc("test2json/invocations") telemetry.CountFlags("test2json/flag:", *flag.CommandLine) var mode test2json.Mode if *flagT { mode |= test2json.Timestamp } c := test2json.NewConverter(os.Stdout, *flagP, mode) defer c.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/pprof/pprof.go
func main() { telemetry.Start() telemetry.Inc("pprof/invocations") options := &driver.Options{ Fetch: new(fetcher), Obj: new(objTool), UI: newUI(), } err := driver.PProf(options) telemetry.CountFlags("pprof/flag:", *flag.CommandLine) // pprof will use the flag package as its default if err != nil { fmt.Fprintf(os.Stderr, "%v\n", err) os.Exit(2) } } type fetcher struct { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 9.5K bytes - Viewed (0)