Skip to content

Commit

Permalink
Fixed args/-x Tab completion
Browse files Browse the repository at this point in the history
  • Loading branch information
shyiko committed Apr 20, 2018
1 parent 68661a7 commit d70b336
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ func (c *Completion) Execute() (bool, error) {
"--set": complete.PredictAnything,
"-s": complete.PredictAnything,
"--syntax": complete.PredictSet("$", "go-template", "kind-template"),
"-x": complete.PredictSet("$", "go-template", "kind-template"),
},
Args: complete.PredictAnything,
Args: complete.PredictFiles("*"),
},
"help": complete.Command{
Sub: complete.Commands{
Expand Down

0 comments on commit d70b336

Please sign in to comment.