diff --git a/pkg/cli/cli_test.go b/pkg/cli/cli_test.go index 0ab92da931cc..93126dbb221e 100644 --- a/pkg/cli/cli_test.go +++ b/pkg/cli/cli_test.go @@ -1808,7 +1808,6 @@ Available Commands: sql open a sql shell user get, set, list and remove users - zone get, set, list and remove zones node list, inspect or remove nodes dump dump sql tables diff --git a/pkg/cli/zone.go b/pkg/cli/zone.go index 22b240e89349..41ce93b64205 100644 --- a/pkg/cli/zone.go +++ b/pkg/cli/zone.go @@ -318,9 +318,10 @@ var zoneCmds = []*cobra.Command{ } var zoneCmd = &cobra.Command{ - Use: "zone", - Short: "get, set, list and remove zones", - RunE: usageAndErr, + Use: "zone", + Short: "get, set, list and remove zones", + RunE: usageAndErr, + Deprecated: "use SHOW ZONE and CONFIGURE ZONE commands in a SQL client instead.", } func init() {