From 23e48f92d32e89b69ffcaf193ee4eef79e4880f0 Mon Sep 17 00:00:00 2001 From: Jonathan DeMasi Date: Wed, 5 Jun 2019 13:28:21 -0600 Subject: Revert "was not accounting for > 2 args" This reverts commit d6492960b0129be9c5241fe7d3e6fc717e5856a6. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3