summaryrefslogtreecommitdiff
path: root/cmd/planr/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/planr/main.go')
-rw-r--r--cmd/planr/main.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/planr/main.go b/cmd/planr/main.go
index adcb50e..277ffc8 100644
--- a/cmd/planr/main.go
+++ b/cmd/planr/main.go
@@ -12,10 +12,6 @@ import (
"golang.flu0r1ne.net/planr/adapters/gtest"
)
-const (
- VERSION = "0.0.3"
-)
-
func printUsage(w io.Writer) {
fmt.Fprintf (w, "usage: %s command args ... \n", os.Args[0])
fmt.Fprintln(w, " help ")
@@ -77,7 +73,7 @@ func main() {
switch subcommand {
case "version":
- fmt.Printf("%s\n", VERSION)
+ fmt.Printf("%s\n", planr.VERSION)
case "build":
sub.Build(runner, subargs)
case "evaluate", "eval":