diff options
author | Jonathan DeMasi <jon.demasi@colorado.edu> | 2019-06-05 13:27:34 -0600 |
---|---|---|
committer | Jonathan DeMasi <jon.demasi@colorado.edu> | 2019-06-05 13:27:34 -0600 |
commit | d6492960b0129be9c5241fe7d3e6fc717e5856a6 (patch) | |
tree | 80787c081cf3fb4ee547370020329beacdee15e7 | |
parent | 77350240b9132dea4ad27cd452b7e15f721f4669 (diff) | |
download | gh_authkey_checker-d6492960b0129be9c5241fe7d3e6fc717e5856a6.tar gh_authkey_checker-d6492960b0129be9c5241fe7d3e6fc717e5856a6.tar.gz gh_authkey_checker-d6492960b0129be9c5241fe7d3e6fc717e5856a6.tar.bz2 gh_authkey_checker-d6492960b0129be9c5241fe7d3e6fc717e5856a6.tar.lz gh_authkey_checker-d6492960b0129be9c5241fe7d3e6fc717e5856a6.tar.xz gh_authkey_checker-d6492960b0129be9c5241fe7d3e6fc717e5856a6.tar.zst gh_authkey_checker-d6492960b0129be9c5241fe7d3e6fc717e5856a6.zip |
was not accounting for > 2 args
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |