Skip to content

Commit 64ef848

Browse files
author
Jay Conrod
committed
cmd/go: fix retract interval syntax in 'go help mod edit'
For #24031 Change-Id: I70461431aac24c9465b9bdab082bcc34343a53a8 Reviewed-on: https://go-review.googlesource.com/c/go/+/270557 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> Trust: Jay Conrod <jayconrod@google.com>
1 parent 399b5d1 commit 64ef848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cmd/go/alldocs.go

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

src/cmd/go/internal/modcmd/edit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ a version on the left side is dropped.
6969
7070
The -retract=version and -dropretract=version flags add and drop a
7171
retraction on the given version. The version may be a single version
72-
like "v1.2.3" or a closed interval like "[v1.1.0-v1.1.9]". Note that
72+
like "v1.2.3" or a closed interval like "[v1.1.0,v1.1.9]". Note that
7373
-retract=version is a no-op if that retraction already exists.
7474
7575
The -require, -droprequire, -exclude, -dropexclude, -replace,

0 commit comments

Comments
 (0)