- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addVersionFlag (0.21 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
log.Fatal(err) } os.Stdout.Write(data) } // addVersionFlag registers a -V flag that, if set, // prints the executable version and exits 0. // // If the -V flag already exists — for example, because it was already // registered by a call to cmd/internal/objabi.AddVersionFlag — then // addVersionFlag does nothing. func addVersionFlag() { if flag.Lookup("V") == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
objabi.Flagfn1("L", "add specified `directory` to library path", func(a string) { Lflag(ctxt, a) }) objabi.AddVersionFlag() // -V objabi.Flagfn1("X", "add string value `definition` of the form importpath.name=value", func(s string) { addstrdata1(ctxt, s) }) objabi.Flagcount("v", "print link trace", &ctxt.Debugvlog)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/cover/cover.go
cgran coverage.CounterGranularity ) const ( atomicPackagePath = "sync/atomic" atomicPackageName = "_cover_atomic_" ) func main() { telemetry.Start() objabi.AddVersionFlag() flag.Usage = usage objabi.Flagparse(usage) telemetry.Inc("cover/invocations") telemetry.CountFlags("cover/flag:", *flag.CommandLine) // Usage information when no arguments.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0)