diff --git a/main.go b/main.go index 4a6d19f..cdd7fdc 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ func main() { rootCmd := &cobra.Command{ Use: "hashit", Short: "hashit [FILE or DIRECTORY]", - Long: "Hash It!\nBen Boyter ", + Long: "Hash It!\nVersion " + processor.Version + "\nBen Boyter ", Version: processor.Version, Run: func(cmd *cobra.Command, args []string) { processor.DirFilePaths = args diff --git a/processor/formatters.go b/processor/formatters.go index 7608509..8a0323c 100644 --- a/processor/formatters.go +++ b/processor/formatters.go @@ -194,7 +194,7 @@ func toJSON(input chan Result) string { func toHashDeep(input chan Result) string { var str strings.Builder - + pwd, err := os.Getwd() if err != nil { printError(fmt.Sprintf("unable to determine working directory: %s", err.Error())) diff --git a/processor/processor.go b/processor/processor.go index f264550..402cf65 100644 --- a/processor/processor.go +++ b/processor/processor.go @@ -12,7 +12,7 @@ import ( ) // Global Version -var Version = "0.1.0" +var Version = "1.0.0" // Verbose enables verbose logging output var Verbose = false