1
0
mirror of https://github.com/golang/go synced 2024-11-25 13:57:57 -07:00

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

R=rsc
CC=golang-dev
https://golang.org/cl/384044
This commit is contained in:
Robert Griesemer 2010-03-10 15:41:36 -08:00
parent ef4c2b85a0
commit 799609e0b4
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@ Usage:
The flags are: The flags are:
-v -v
verbose mode verbose mode
-src
print exported source in command-line mode
-tabwidth=4 -tabwidth=4
width of tabs in units of spaces width of tabs in units of spaces
-path="" -path=""

View File

@ -48,7 +48,7 @@ var (
// layout control // layout control
html = flag.Bool("html", false, "print HTML in command-line mode") 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")
) )