Skip to content

Commit c8b589e

Browse files
goto1134gopherbot
authored andcommitted
cmd/list: fix -retracted flag description
Change-Id: Ia1ab220485af2f38c3ddcd4c5d5bca1b195a33ed GitHub-Last-Rev: fb99334 GitHub-Pull-Request: #59847 Reviewed-on: https://go-review.googlesource.com/c/go/+/489175 Auto-Submit: Sam Thanawalla <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Sean Liao <[email protected]> Reviewed-by: Sam Thanawalla <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
1 parent f9ce1dd commit c8b589e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/cmd/go/alldocs.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/list/list.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ space-separated version list.
300300
301301
The -retracted flag causes list to report information about retracted
302302
module versions. When -retracted is used with -f or -json, the Retracted
303-
field will be set to a string explaining why the version was retracted.
304-
The string is taken from comments on the retract directive in the
303+
field explains why the version was retracted.
304+
The strings are taken from comments on the retract directive in the
305305
module's go.mod file. When -retracted is used with -versions, retracted
306306
versions are listed together with unretracted versions. The -retracted
307307
flag may be used with or without -m.

0 commit comments

Comments
 (0)