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:
citizen233 2021-09-28 14:05:20 +08:00 committed by Bryan C. Mills
parent 5930cff093
commit 40fa8c200c
1 changed files with 1 additions and 1 deletions

View File

@ -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 {