I use cmd/doc on an 80 column terminal and I find it doesn't wrap correctly. For example:
$ doc os.truncate
func Truncate(name string, size int64) error
Truncate changes the size of the named file. If the file is a symbolic link,
it
changes the size of the link's target. If there is an error, it will be of t
ype
*PathError.
func Truncate(name string, size int64) error
Truncate changes the size of the named file. If the file is a symbolic link,
it changes the size of the link's target. If there is an error, it will be
of type *PathError.
The text was updated successfully, but these errors were encountered:
I use cmd/doc on an 80 column terminal and I find it doesn't wrap correctly. For example:
The following patch seems to fix it for me:
I then get:
The text was updated successfully, but these errors were encountered: