From 4395818492a97c93d594305de8bf02f3fb578ced Mon Sep 17 00:00:00 2001 From: Seednode Date: Fri, 16 Sep 2022 14:48:30 -0500 Subject: [PATCH] Replaced --version with version subcommand --- cmd/root.go | 1 - cmd/version.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 5320fc9..1b61ee1 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -21,7 +21,6 @@ var rootCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { ServePage(args) }, - Version: Version, } func Execute() { diff --git a/cmd/version.go b/cmd/version.go index 7dccb2a..f40cd90 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra" ) -var Version = "0.6.1" +var Version = "0.6.2" func init() { rootCmd.AddCommand(versionCmd)