diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index ae832e60d9..fbfddad709 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -1041,7 +1041,7 @@ // // 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 slice explaining why the version was retracted. +// 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 diff --git a/src/cmd/go/internal/list/list.go b/src/cmd/go/internal/list/list.go index 3b842bfee2..29674d3c00 100644 --- a/src/cmd/go/internal/list/list.go +++ b/src/cmd/go/internal/list/list.go @@ -297,7 +297,7 @@ 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 slice explaining why the version was retracted. +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