summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4fdb35e..c187ce8 100644
--- a/main.go
+++ b/main.go
@@ -9,8 +9,10 @@ import (
"github.com/ChausseBenjamin/termpicker/internal/util"
)
+var version = "compiled"
+
func main() {
- app := app.Command()
+ app := app.Command(version)
if err := app.Run(context.Background(), os.Args); err != nil {
slog.Error("Program crashed", util.ErrKey, err.Error())
os.Exit(1)