Skip to content

Commit

Permalink
Fixing version display
Browse files Browse the repository at this point in the history
  • Loading branch information
oxodao committed Feb 5, 2022
1 parent 4a4af44 commit 6f263ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

var (
AUTHOR = "Oxodao"
VERSION = "0.5"
VERSION = "DEV"
COMMIT = "XXXXXXXXX"
SOFTWARE_NAME = "metaprint"
)
Expand All @@ -32,7 +32,7 @@ func main() {
case "pulseaudio-infos":
pulse.PrintInfos()
case "version":
fmt.Printf("%v v%v (Commit %v) by %v\nhttps://github.com/%v/%v\n", SOFTWARE_NAME, VERSION, COMMIT, AUTHOR, strings.ToLower(AUTHOR), strings.ToLower(SOFTWARE_NAME))
fmt.Printf("%v %v (Commit %v) by %v\nhttps://github.com/%v/%v\n", SOFTWARE_NAME, VERSION, COMMIT, AUTHOR, strings.ToLower(AUTHOR), strings.ToLower(SOFTWARE_NAME))
os.Exit(1)
default:
printUsage()
Expand Down

0 comments on commit 6f263ef

Please sign in to comment.