]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc, cmd/ld: update doc.go for -race
authorShenghou Ma <minux.ma@gmail.com>
Fri, 11 Jan 2013 04:35:58 +0000 (12:35 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 11 Jan 2013 04:35:58 +0000 (12:35 +0800)
R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/7066052

src/cmd/gc/doc.go
src/cmd/ld/doc.go

index fad1427339f0ae262888e6487b7ef505766827d2..78bffc8ecb33e36ba91b20a2da0e03df2973ce85 100644 (file)
@@ -54,7 +54,7 @@ Flags:
                disallow importing packages not marked as safe
        -V
                print the compiler version
-       -b
+       -race
                compile with race detection enabled
 
 There are also a number of debugging flags; run the command with no arguments
index 357505f0b2c6a8ea92d6f177f0c293be09c68535..cf22ba8d80e0a084268589fed70c58e1559f20d6 100644 (file)
@@ -56,7 +56,7 @@ Options new in this version:
                Set the value of an otherwise uninitialized string variable.
                The symbol name should be of the form importpath.name,
                as displayed in the symbol table printed by "go tool nm".
-       -b
+       -race
                Link with race detection libraries.
        -B value
                Add a NT_GNU_BUILD_ID note when using ELF.  The value