Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/cmd/godoc/doc.go
src/cmd/godoc/doc.go
+2
-0
src/cmd/godoc/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:
...
@@ -23,6 +23,8 @@ Usage:
The flags are:
The flags are:
-v
-v
verbose mode
verbose mode
-src
print exported source in command-line mode
-tabwidth=4
-tabwidth=4
width of tabs in units of spaces
width of tabs in units of spaces
-path=""
-path=""
...
...
src/cmd/godoc/main.go
View file @
799609e0
...
@@ -48,7 +48,7 @@ var (
...
@@ -48,7 +48,7 @@ var (
// layout control
// layout control
html
=
flag
.
Bool
(
"html"
,
false
,
"print HTML in command-line mode"
)
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