Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Fix 'retool help' subcommand indexing error
Browse files Browse the repository at this point in the history
  • Loading branch information
spenczar committed Mar 13, 2017
1 parent e308f19 commit 6335832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion input.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
)

const version = "v1.0"
const version = "v1.0.1"

var cacheDir = ""

Expand Down

0 comments on commit 6335832

Please sign in to comment.