From 9d815598ccb0b9d8ed67b5be58070f382e27945d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Can=20Ta=C5=9Fp=C4=B1nar?= Date: Tue, 5 May 2020 06:51:20 +0300 Subject: [PATCH] cli: include new commands in help text (fix #4623) (#4626) --- CHANGELOG.md | 1 + cli/commands/help.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e19d935c65d..9b30b1c3342 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ Read more about the session argument for computed fields in the [docs](https://h (Add entries here in the order of: server, console, cli, docs, others) - console: add read replica support section to pro popup (#4118) +- cli: list all avialable commands in root command help (fix #4623) ## `v1.2.0` diff --git a/cli/commands/help.go b/cli/commands/help.go index 1bc8ed8ebac..74f8641450b 100644 --- a/cli/commands/help.go +++ b/cli/commands/help.go @@ -48,6 +48,7 @@ func (o *helpOptions) run() { NewMigrateCmd(o.EC), NewMetadataCmd(o.EC), NewConsoleCmd(o.EC), + NewActionsCmd(o.EC), }, }, { @@ -55,6 +56,9 @@ func (o *helpOptions) run() { Commands: []*cobra.Command{ NewCompletionCmd(o.EC), NewVersionCmd(o.EC), + NewPluginsCmd(o.EC), + NewScriptsCmd(o.EC), + NewUpdateCLICmd(o.EC), }, }, }