cmd/list: fix -retracted flag description

Change-Id: Ia1ab220485af2f38c3ddcd4c5d5bca1b195a33ed
GitHub-Last-Rev: fb9933427d852518c93efbc4f2c2e4d4ee9b9197
GitHub-Pull-Request: golang/go#59847
Reviewed-on: https://go-review.googlesource.com/c/go/+/489175
Auto-Submit: Sam Thanawalla <samthanawalla@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
This commit is contained in:
goto1134 2023-05-29 09:23:27 +00:00 committed by Gopher Robot
parent f9ce1dddc2
commit c8b589e266
2 changed files with 4 additions and 4 deletions

View File

@ -1071,8 +1071,8 @@
// //
// The -retracted flag causes list to report information about retracted // The -retracted flag causes list to report information about retracted
// module versions. When -retracted is used with -f or -json, the Retracted // module versions. When -retracted is used with -f or -json, the Retracted
// field will be set to a string explaining why the version was retracted. // field explains why the version was retracted.
// The string is taken from comments on the retract directive in the // The strings are taken from comments on the retract directive in the
// module's go.mod file. When -retracted is used with -versions, retracted // module's go.mod file. When -retracted is used with -versions, retracted
// versions are listed together with unretracted versions. The -retracted // versions are listed together with unretracted versions. The -retracted
// flag may be used with or without -m. // flag may be used with or without -m.

View File

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