Skip to content

Commit

Permalink
use full version now for long flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Burke committed Jul 10, 2020
1 parent 269bc07 commit 1cb2b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -52,7 +52,7 @@ func main() {
checkOS()
parser := argparse.NewParser("kubeswitch", "easily swap kubectl versions")

versionFlag := parser.String("v", "vers", &argparse.Options{Required: false, Help: "specifiy a version to download"})
versionFlag := parser.String("v", "version", &argparse.Options{Required: false, Help: "specifiy a version to download"})
versionToInstall = *versionFlag

// Maybe in the future there can be an acceptance check, but if we want this as part of an automated sequence it make senses to assume user input is always a correct version.
Expand Down

0 comments on commit 1cb2b11

Please sign in to comment.