aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 14a478a..81a032e 100644
--- a/main.go
+++ b/main.go
@@ -17,7 +17,7 @@ func parseArgs() string {
}
// We have one arg possible comma separated
- if len(os.Args) >= 2 {
+ if len(os.Args) == 2 {
return (os.Args[1])
} else {
log.Fatalln("You have provided too many arguments")