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 doc <pkg>
go doc <pkg> <sym>[.<methodOrField>]
go doc [<pkg>.][<sym>.]<methodOrField>
go doc <sym>[.<methodOrField>]
see diff https://golang.org/cl/201857 for details
Note that the original [<pkg>].<sym>[.<method>] was definitely a typo ]. vs .] ,just trying to make it identical while i was at it fixing that.
Also note https://groups.google.com/forum/#!topic/golang-nuts/OFg-02kfpno Compared to go help doc output, it seems flag.PrintDefaults() messes up flags descriptions new lines of go doc --help? But thats probably a separate issue with flag.PrintDefaults()
The text was updated successfully, but these errors were encountered:
@gertcuykens, as far as I can tell this fix doesn't need to hold up the 1.14 release if it isn't ready, so the Go1.14 milestone probably isn't appropriate. (But it's small and cosmetic enough that it can probably make 1.14 anyway.)
Fixes usage inconsistency between
/usr/local/go/src/cmd/doc/main.go
/usr/local/go/src/cmd/go/internal/doc/doc.go
see diff https://golang.org/cl/201857 for details
Note that the original
[<pkg>].<sym>[.<method>]
was definitely a typo].
vs.]
,just trying to make it identical while i was at it fixing that.Also note https://groups.google.com/forum/#!topic/golang-nuts/OFg-02kfpno Compared to go help doc output, it seems
flag.PrintDefaults()
messes up flags descriptions new lines ofgo doc --help
? But thats probably a separate issue withflag.PrintDefaults()
The text was updated successfully, but these errors were encountered: