diff --git a/cmd/skopeo/completions.go b/cmd/skopeo/completions.go index 672abc4b..20a2f9d1 100644 --- a/cmd/skopeo/completions.go +++ b/cmd/skopeo/completions.go @@ -18,5 +18,5 @@ func autocompleteSupportedTransports(cmd *cobra.Command, args []string, toComple suggestions = append(suggestions, tp+":") } } - return suggestions, cobra.ShellCompDirectiveNoFileComp + return suggestions, cobra.ShellCompDirectiveNoFileComp | cobra.ShellCompDirectiveNoSpace }