From 17770315280330ff3cbe4fb32620e020b0218bd6 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Wed, 5 Apr 2023 13:07:14 +0300 Subject: [PATCH] cmd/go: improve packages help description Clarify that 'action' is not the valid 'go' command. Change-Id: I0a77722c46a3dc56f81c5e6e177e0c73bc60adc2 Reviewed-on: https://go-review.googlesource.com/c/go/+/482455 Run-TryBot: Bryan Mills TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills Auto-Submit: Bryan Mills Reviewed-by: Michael Knyszek --- src/cmd/go/alldocs.go | 2 +- src/cmd/go/internal/help/helpdoc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 7ce8a071ada..4314d771fba 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -2804,7 +2804,7 @@ // // Many commands apply to a set of packages: // -// go action [packages] +// go [packages] // // Usually, [packages] is a list of import paths. // diff --git a/src/cmd/go/internal/help/helpdoc.go b/src/cmd/go/internal/help/helpdoc.go index 199d8af1b4b..cf932136b30 100644 --- a/src/cmd/go/internal/help/helpdoc.go +++ b/src/cmd/go/internal/help/helpdoc.go @@ -34,7 +34,7 @@ var HelpPackages = &base.Command{ Long: ` Many commands apply to a set of packages: - go action [packages] + go [packages] Usually, [packages] is a list of import paths.