mirror of https://github.com/golang/go.git
optimize
This commit is contained in:
parent
5ee0d1795a
commit
6b40ba192c
|
|
@ -108,20 +108,20 @@ Examples:
|
||||||
cd go/src/encoding/json; go doc decode
|
cd go/src/encoding/json; go doc decode
|
||||||
|
|
||||||
Flags:
|
Flags:
|
||||||
-C dir
|
-C dir
|
||||||
change to dir before running command
|
change to dir before running command
|
||||||
-all
|
-all
|
||||||
show all documentation for package
|
show all documentation for package
|
||||||
-c symbol matching honors case (paths not affected)
|
-c symbol matching honors case (paths not affected)
|
||||||
-cmd
|
-cmd
|
||||||
show symbols with package docs even if package is a command
|
show symbols with package docs even if package is a command
|
||||||
-http
|
-http
|
||||||
serve HTML docs over HTTP
|
serve HTML docs over HTTP
|
||||||
-short
|
-short
|
||||||
one-line representation for each symbol
|
one-line representation for each symbol
|
||||||
-src
|
-src
|
||||||
show source code for symbol
|
show source code for symbol
|
||||||
-u show unexported symbols as well as exported
|
-u show unexported symbols as well as exported
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue