Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
799609e0
Commit
799609e0
authored
Mar 10, 2010
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
godoc: change -x to -src, update doc.go (missed in previous CL)
R=rsc CC=golang-dev
https://golang.org/cl/384044
parent
ef4c2b85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
doc.go
src/cmd/godoc/doc.go
+2
-0
main.go
src/cmd/godoc/main.go
+1
-1
No files found.
src/cmd/godoc/doc.go
View file @
799609e0
...
...
@@ -23,6 +23,8 @@ Usage:
The flags are:
-v
verbose mode
-src
print exported source in command-line mode
-tabwidth=4
width of tabs in units of spaces
-path=""
...
...
src/cmd/godoc/main.go
View file @
799609e0
...
...
@@ -48,7 +48,7 @@ var (
// layout control
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"
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment