Skip to content

Commit

Permalink
Amended d127956
Browse files Browse the repository at this point in the history
  • Loading branch information
shyiko committed Oct 12, 2018
1 parent 87ae307 commit d11801a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion command/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func Install(selector string, dst string) (string, error) {
if err != nil {
return "", err
}
releaseMap, err = LsRemote("", "")
releaseMap, err = LsRemote(runtime.GOOS, runtime.GOARCH)
if err != nil {
return "", err
}
Expand Down
4 changes: 2 additions & 2 deletions jabba.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ func main() {
return nil
},
}
lsRemoteCmd.Flags().String("os", runtime.GOOS, "Name of the architecture to lookup (amd64 for 64 bit, 386 for 32 bit)")
lsRemoteCmd.Flags().String("arch", runtime.GOARCH, "Name of the os to lookup (darwin, linux, windows)")
lsRemoteCmd.Flags().String("os", runtime.GOOS, "Operating System (darwin, linux, windows)")
lsRemoteCmd.Flags().String("arch", runtime.GOARCH, "Architecture (amd64, 386)")
for _, cmd := range []*cobra.Command{lsCmd, lsRemoteCmd} {
cmd.Flags().StringVar(&trimTo, "latest", "",
"Part of the version to trim to (\"major\", \"minor\" or \"patch\")")
Expand Down

0 comments on commit d11801a

Please sign in to comment.