Skip to content

Commit

Permalink
Don't complete a space after '<transport>:'
Browse files Browse the repository at this point in the history
  • Loading branch information
yedayak committed Feb 16, 2025
1 parent 690b1ef commit b7828b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/skopeo/completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit b7828b9

Please sign in to comment.