diff --git a/input.go b/input.go index 0261f12..0242f2b 100644 --- a/input.go +++ b/input.go @@ -80,7 +80,7 @@ func parseArgs() (command string, t *tool) { case "help": assertArgLength(args, command, 1) - printUsageAndExit(args[1], 0) + printUsageAndExit(args[0], 0) default: printUsageAndExit("", 1) diff --git a/main.go b/main.go index 1295e7d..2118e65 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "path/filepath" ) -const version = "v1.0" +const version = "v1.0.1" var cacheDir = ""