From c68f02180919c6327629a467da6b750d314cbc3f Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 26 Nov 2019 09:41:44 +0100 Subject: [PATCH] Fix naming for CLI plugin list command (#13065) --- cmd/mattermost/commands/plugin.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/mattermost/commands/plugin.go b/cmd/mattermost/commands/plugin.go index 9d53deda0a..c86601fb60 100644 --- a/cmd/mattermost/commands/plugin.go +++ b/cmd/mattermost/commands/plugin.go @@ -53,7 +53,7 @@ var PluginDisableCmd = &cobra.Command{ var PluginListCmd = &cobra.Command{ Use: "list", Short: "List plugins", - Long: "List all active and inactive plugins installed on your Mattermost server.", + Long: "List all enabled and disabled plugins installed on your Mattermost server.", Example: ` plugin list`, RunE: pluginListCmdF, } @@ -207,12 +207,12 @@ func pluginListCmdF(command *cobra.Command, args []string) error { return errors.Wrap(appErr, "Unable to list plugins.") } - CommandPrettyPrintln("Listing active plugins") + CommandPrettyPrintln("Listing enabled plugins") for _, plugin := range pluginsResp.Active { CommandPrettyPrintln(plugin.Manifest.Name + ", Version: " + plugin.Manifest.Version) } - CommandPrettyPrintln("Listing inactive plugins") + CommandPrettyPrintln("Listing disabled plugins") for _, plugin := range pluginsResp.Inactive { CommandPrettyPrintln(plugin.Manifest.Name + ", Version: " + plugin.Manifest.Version) }