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:
parent
ef4c2b85a0
commit
799609e0b4
@ -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=""
|
||||||
|
@ -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")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user