Skip to content

Commit

Permalink
dir, not door
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAbides committed Nov 4, 2019
1 parent 9c5461e commit 219a4e5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cmd/bindownloader/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import (
)

var kongVars = kong.Vars{
"arch_help": `download for this architecture`,
"arch_default": runtime.GOARCH,
"os_help": `download for this operating system`,
"os_default": runtime.GOOS,
"config_help": `file with tool definitions`,
"config_default": `buildtools.json`,
"force_help": `force download even if it already exists`,
"cellar_door_help": `directory where downloads will be cached`,
"arch_help": `download for this architecture`,
"arch_default": runtime.GOARCH,
"os_help": `download for this operating system`,
"os_default": runtime.GOOS,
"config_help": `file with tool definitions`,
"config_default": `buildtools.json`,
"force_help": `force download even if it already exists`,
"cellar_dir_help": `directory where downloads will be cached`,
}

var cli struct {
Expand All @@ -26,7 +26,7 @@ var cli struct {
Config string `kong:"type=path,help=${config_help},default=${config_default}"`
Force bool `kong:"help=${force_help}"`
TargetFile string `kong:"arg,help='file to download'"`
CellarDir string `kong:"type=path,help=${cellar_door_help}"`
CellarDir string `kong:"type=path,help=${cellar_dir_help}"`
}

func main() {
Expand Down

0 comments on commit 219a4e5

Please sign in to comment.