diff --git a/cmd/completion.go b/cmd/completion.go index 2a6565b2..9da19797 100644 --- a/cmd/completion.go +++ b/cmd/completion.go @@ -45,8 +45,6 @@ func Generate(cmd *cobra.Command, args []string) error { return fmt.Errorf("Too many arguments. Expected only the shell type. ex. kompose completion [bash|zsh]") } shell := args[0] - if shell != "bash" && shell != "zsh" { - } // Generate bash through cobra if selected if shell == "bash" {