]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/list: fix -retracted flag description
authorgoto1134 <1134togo@gmail.com>
Mon, 29 May 2023 09:23:27 +0000 (09:23 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 28 Apr 2025 23:51:08 +0000 (16:51 -0700)
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>
src/cmd/go/alldocs.go
src/cmd/go/internal/list/list.go

index e40d981bd44dc02dd0a52f28a524ca69af9f51aa..d7dab82e194d708a90452c95eeaace6e17ed4e8e 100644 (file)
 //
 // The -retracted flag causes list to report information about 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.
-// The string is taken from comments on the retract directive in the
+// field explains why the version was retracted.
+// The strings are taken from comments on the retract directive in the
 // module's go.mod file. When -retracted is used with -versions, retracted
 // versions are listed together with unretracted versions. The -retracted
 // flag may be used with or without -m.
index d6cba5a4e0640ffa6bf0e98117daa075a9d99864..d7a201a9b706f5116406b581e46e94d265ff7972 100644 (file)
@@ -300,8 +300,8 @@ space-separated version list.
 
 The -retracted flag causes list to report information about 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.
-The string is taken from comments on the retract directive in the
+field explains why the version was retracted.
+The strings are taken from comments on the retract directive in the
 module's go.mod file. When -retracted is used with -versions, retracted
 versions are listed together with unretracted versions. The -retracted
 flag may be used with or without -m.