diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cetus/main.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/cetus/main.go b/cmd/cetus/main.go index 7629cd2..f73e391 100644 --- a/cmd/cetus/main.go +++ b/cmd/cetus/main.go @@ -10,7 +10,6 @@ import ( "framagit.org/andinus/cetus/pkg/apod" "framagit.org/andinus/cetus/pkg/background" "framagit.org/andinus/cetus/pkg/bpod" - "framagit.org/andinus/cetus/pkg/cetus" ) func main() { @@ -24,8 +23,10 @@ func main() { os.Exit(1) } + version := "v0.5.0" + if os.Args[1] == "version" { - cetus.Version() + fmt.Printf("Cetus %s\n", version) os.Exit(0) } |