don't hide cscli version (#686)

Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
AlteredCoder 2021-03-12 16:17:28 +01:00 committed by GitHub
parent c1abf69979
commit 111e17e884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()
},