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
Flags:
-C dir
change to dir before running command
-all
show all documentation for package
-c symbol matching honors case (paths not affected)
-cmd
show symbols with package docs even if package is a command
-http
serve HTML docs over HTTP
-short
one-line representation for each symbol
-src
show source code for symbol
-u show unexported symbols as well as exported
-C dir
change to dir before running command
-all
show all documentation for package
-c symbol matching honors case (paths not affected)
-cmd
show symbols with package docs even if package is a command
-http
serve HTML docs over HTTP
-short
one-line representation for each symbol
-src
show source code for symbol
-u show unexported symbols as well as exported
`,
}