This commit is contained in:
yincong 2025-06-13 17:07:33 +08:00
parent 5ee0d1795a
commit 6b40ba192c
No known key found for this signature in database
GPG Key ID: D37F4B83EDFE5B0F
1 changed files with 14 additions and 14 deletions

View File

@ -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
`, `,
} }