Skip to content

Commit 6b40ba1

Browse files
optimize
1 parent 5ee0d17 commit 6b40ba1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/cmd/go/internal/doc/doc.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,20 +108,20 @@ Examples:
108108
cd go/src/encoding/json; go doc decode
109109
110110
Flags:
111-
-C dir
112-
change to dir before running command
113-
-all
114-
show all documentation for package
115-
-c symbol matching honors case (paths not affected)
116-
-cmd
117-
show symbols with package docs even if package is a command
118-
-http
119-
serve HTML docs over HTTP
120-
-short
121-
one-line representation for each symbol
122-
-src
123-
show source code for symbol
124-
-u show unexported symbols as well as exported
111+
-C dir
112+
change to dir before running command
113+
-all
114+
show all documentation for package
115+
-c symbol matching honors case (paths not affected)
116+
-cmd
117+
show symbols with package docs even if package is a command
118+
-http
119+
serve HTML docs over HTTP
120+
-short
121+
one-line representation for each symbol
122+
-src
123+
show source code for symbol
124+
-u show unexported symbols as well as exported
125125
`,
126126
}
127127

0 commit comments

Comments
 (0)