summaryrefslogtreecommitdiff
path: root/src/cmd/gc/doc.go
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-02-08 09:46:53 -0800
committerAndrew Gerrand <adg@golang.org>2010-02-08 09:46:53 -0800
commitb2df86d9a881f5452e0caa2c06630ad1ee940f40 (patch)
tree7e7609931fa03aa19b483f59d07f19e42c08b7c2 /src/cmd/gc/doc.go
parent40e0b0113b3e75005f20206a79a581e11210c5d5 (diff)
downloadgolang-b2df86d9a881f5452e0caa2c06630ad1ee940f40.tar.gz
*l/*c: add -V flag to display version number
R=rsc CC=golang-dev http://codereview.appspot.com/204044
Diffstat (limited to 'src/cmd/gc/doc.go')
-rw-r--r--src/cmd/gc/doc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/gc/doc.go b/src/cmd/gc/doc.go
index 5250cfcbe..108a091b2 100644
--- a/src/cmd/gc/doc.go
+++ b/src/cmd/gc/doc.go
@@ -38,6 +38,8 @@ Flags:
disable optimization
-S
write assembly language text to standard output
+ -V
+ print the compiler version
There are also a number of debugging flags; run the command with no arguments
to get a usage message.