aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan DeMasi <jon.demasi@colorado.edu>2019-06-05 13:28:21 -0600
committerJonathan DeMasi <jon.demasi@colorado.edu>2019-06-05 13:28:21 -0600
commit23e48f92d32e89b69ffcaf193ee4eef79e4880f0 (patch)
treec666d42f5a1751cfef139c01ca07be44273ee3ed
parentd6492960b0129be9c5241fe7d3e6fc717e5856a6 (diff)
downloadgh_authkey_checker-23e48f92d32e89b69ffcaf193ee4eef79e4880f0.tar
gh_authkey_checker-23e48f92d32e89b69ffcaf193ee4eef79e4880f0.tar.gz
gh_authkey_checker-23e48f92d32e89b69ffcaf193ee4eef79e4880f0.tar.bz2
gh_authkey_checker-23e48f92d32e89b69ffcaf193ee4eef79e4880f0.tar.lz
gh_authkey_checker-23e48f92d32e89b69ffcaf193ee4eef79e4880f0.tar.xz
gh_authkey_checker-23e48f92d32e89b69ffcaf193ee4eef79e4880f0.tar.zst
gh_authkey_checker-23e48f92d32e89b69ffcaf193ee4eef79e4880f0.zip
Revert "was not accounting for > 2 args"
This reverts commit d6492960b0129be9c5241fe7d3e6fc717e5856a6.
-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")