From 742e7149ddbbabed9554b502b9dd4447a26c44fe Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Tue, 27 Feb 2018 19:29:26 +1100 Subject: [PATCH] Add comment for version variable --- cmd/root.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 9899ccc..0ec9ce8 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -27,11 +27,10 @@ import ( var log = logrus.New() -var ( - cfgFile string - logLevel string - Version string -) +// Version that is being reported by the CLI +var Version string + +var cfgFile, logLevel string // RootCmd represents the base command when called without any subcommands var RootCmd = &cobra.Command{