Commit 799609e0 authored by Robert Griesemer's avatar Robert Griesemer

godoc: change -x to -src, update doc.go (missed in previous CL)

R=rsc
CC=golang-dev
https://golang.org/cl/384044
parent ef4c2b85
......@@ -23,6 +23,8 @@ Usage:
The flags are:
-v
verbose mode
-src
print exported source in command-line mode
-tabwidth=4
width of tabs in units of spaces
-path=""
......
......@@ -48,7 +48,7 @@ var (
// layout control
html = flag.Bool("html", false, "print HTML in command-line mode")
genAST = flag.Bool("x", false, "print exported source in command-line mode")
genAST = flag.Bool("src", false, "print exported source in command-line mode")
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment