From e6a2a7386c5b55ee775d8bc96c1d7ad3dcc95944 Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Thu, 19 May 2022 09:55:49 +0200 Subject: [PATCH] changed option 'alerts-tainted' (which does not exist) to 'tainted' (#1538) --- cmd/crowdsec-cli/console.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/crowdsec-cli/console.go b/cmd/crowdsec-cli/console.go index c18fded9e..d7d05f53b 100644 --- a/cmd/crowdsec-cli/console.go +++ b/cmd/crowdsec-cli/console.go @@ -131,7 +131,7 @@ After running this command your will need to validate the enrollment in the weba cmdEnable := &cobra.Command{ Use: "enable [feature-flag]", Short: "Enable a feature flag", - Example: "enable alerts-tainted", + Example: "enable tainted", Long: ` Enable given information push to the central API. Allows to empower the console`, ValidArgs: csconfig.CONSOLE_CONFIGS, @@ -159,7 +159,7 @@ Enable given information push to the central API. Allows to empower the console` cmdDisable := &cobra.Command{ Use: "disable [feature-flag]", Short: "Disable a feature flag", - Example: "disable alerts-tainted", + Example: "disable tainted", Long: ` Disable given information push to the central API.`, ValidArgs: csconfig.CONSOLE_CONFIGS, @@ -189,7 +189,7 @@ Disable given information push to the central API.`, cmdConsoleStatus := &cobra.Command{ Use: "status [feature-flag]", Short: "Shows status of one or all feature flags", - Example: "status alerts-tainted", + Example: "status tainted", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, args []string) { switch csConfig.Cscli.Output {