diff options
author | Andinus <andinus@nand.sh> | 2020-03-22 14:13:49 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-22 14:13:49 +0530 |
commit | ad1d4cd784f8d764d8d43f77dce4d6f4219c38d2 (patch) | |
tree | 51938ebf2c303bfb817bf4bcb9ba465f56cf4f86 /cmd | |
parent | e0900e1cfe0b2a7961ed690dfcce62364e1c88a4 (diff) | |
parent | 36bd8f2361e071e9f1d612b5e88b8ac713b8418c (diff) | |
download | indus-ad1d4cd784f8d764d8d43f77dce4d6f4219c38d2.tar.gz |
Merge branch 'develop'
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/indus/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/indus/main.go b/cmd/indus/main.go index 74a1b49..a49778f 100644 --- a/cmd/indus/main.go +++ b/cmd/indus/main.go @@ -11,7 +11,7 @@ import ( ) func main() { - if os.Args[1] == "version" { + if len(os.Args) > 1 && os.Args[1] == "version" { fmt.Println("Indus v0.1.0") os.Exit(0) } |