mirror of https://github.com/golang/go.git
cmd/go/internal/modcmd: fix "go mod editwork" error text
Fixes #48583 Change-Id: I863ece5c546c383a2f46b8b1a36cbf9f2526d3ed Reviewed-on: https://go-review.googlesource.com/c/go/+/352709 Reviewed-by: Jay Conrod <jayconrod@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
5930cff093
commit
40fa8c200c
|
|
@ -118,7 +118,7 @@ func runEditwork(ctx context.Context, cmd *base.Command, args []string) {
|
|||
len(workedits) > 0
|
||||
|
||||
if !anyFlags {
|
||||
base.Fatalf("go: no flags specified (see 'go help mod edit').")
|
||||
base.Fatalf("go: no flags specified (see 'go help mod editwork').")
|
||||
}
|
||||
|
||||
if *editworkJSON && *editworkPrint {
|
||||
|
|
|
|||
Loading…
Reference in New Issue