You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go get -v -u golang.org/x/tools/cmd/godoc
godoc strings
What did you expect to see?
The docs for strings pkg (or any stdlib package ...)
What did you see instead?
Unexpected arguments.
usage: godoc -http=localhost:6060
-analysis string
comma-separated list of analyses to perform (supported: type, pointer). See http://golang.org/lib/godoc/analysis/help.html
-goroot string
Go root directory (default "/home/vbatts/go1.11")
-http string
HTTP service address (default "localhost:6060")
-index
enable search index
-index_files string
glob pattern specifying index files; if not empty, the index is read from these files in sorted order
-index_interval duration
interval of indexing; 0 for default (5m), negative to only index once at startup
-index_throttle float
index throttle value; 0.0 = no time allocated, 1.0 = full throttle (default 0.75)
-links
link identifiers to their declarations (default true)
-maxresults int
maximum number of full text search results shown (default 10000)
-notes string
regular expression matching note markers to show (default "BUG")
-play
enable playground in web interface
-templates string
load templates/JS/CSS from disk in this directory
-timestamps
show timestamps with directory listings
-url string
print HTML for named URL
-v verbose mode
-write_index
write index to a file; the file name must be specified with -index_files
-zip string
zip file providing the file system to serve; disabled if empty
The text was updated successfully, but these errors were encountered:
this seems like a mistake to break user's access to the local doc tool. This already happened when go doc was migrated away from stdlib to x/tools around go1.5. Now it's going back and going to disrupt folks again?
What version of Go are you using (
go version
)?go version go1.11.1 linux/amd64
Does this issue reproduce with the latest release?
yes. Master of
golang.org/x/tools/cmd/godoc
at the time of this report is golang/tools@5d4988dWhat operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
The docs for
strings
pkg (or any stdlib package ...)What did you see instead?
The text was updated successfully, but these errors were encountered: