Skip to content

Commit 40fa8c2

Browse files
citizen233Bryan C. Mills
authored andcommitted
cmd/go/internal/modcmd: fix "go mod editwork" error text
Fixes golang#48583 Change-Id: I863ece5c546c383a2f46b8b1a36cbf9f2526d3ed Reviewed-on: https://go-review.googlesource.com/c/go/+/352709 Reviewed-by: Jay Conrod <[email protected]> Trust: Dmitri Shuralyov <[email protected]>
1 parent 5930cff commit 40fa8c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cmd/go/internal/modcmd/editwork.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func runEditwork(ctx context.Context, cmd *base.Command, args []string) {
118118
len(workedits) > 0
119119

120120
if !anyFlags {
121-
base.Fatalf("go: no flags specified (see 'go help mod edit').")
121+
base.Fatalf("go: no flags specified (see 'go help mod editwork').")
122122
}
123123

124124
if *editworkJSON && *editworkPrint {

0 commit comments

Comments
 (0)