don't hide cscli version (#686)
Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
parent
c1abf69979
commit
111e17e884
|
@ -97,10 +97,9 @@ It is meant to allow you to manage bans, parsers/scenarios/etc, api and generall
|
||||||
rootCmd.AddCommand(cmdDocGen)
|
rootCmd.AddCommand(cmdDocGen)
|
||||||
/*usage*/
|
/*usage*/
|
||||||
var cmdVersion = &cobra.Command{
|
var cmdVersion = &cobra.Command{
|
||||||
Use: "version",
|
Use: "version",
|
||||||
Short: "Display version and exit.",
|
Short: "Display version and exit.",
|
||||||
Args: cobra.ExactArgs(0),
|
Args: cobra.ExactArgs(0),
|
||||||
Hidden: true,
|
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
cwversion.Show()
|
cwversion.Show()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue