From 111e17e884bd621f80c4347b55fccce89b0c74f7 Mon Sep 17 00:00:00 2001 From: AlteredCoder <64792091+AlteredCoder@users.noreply.github.com> Date: Fri, 12 Mar 2021 16:17:28 +0100 Subject: [PATCH] don't hide cscli version (#686) Co-authored-by: AlteredCoder --- cmd/crowdsec-cli/main.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/crowdsec-cli/main.go b/cmd/crowdsec-cli/main.go index a9d0e3d51..294978a76 100644 --- a/cmd/crowdsec-cli/main.go +++ b/cmd/crowdsec-cli/main.go @@ -97,10 +97,9 @@ It is meant to allow you to manage bans, parsers/scenarios/etc, api and generall rootCmd.AddCommand(cmdDocGen) /*usage*/ var cmdVersion = &cobra.Command{ - Use: "version", - Short: "Display version and exit.", - Args: cobra.ExactArgs(0), - Hidden: true, + Use: "version", + Short: "Display version and exit.", + Args: cobra.ExactArgs(0), Run: func(cmd *cobra.Command, args []string) { cwversion.Show() },