Don't complete a space after '<transport>:'

Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com>
This commit is contained in:
Yedaya Katsman
2025-02-16 22:04:31 +02:00
parent dd71592115
commit e7e09255b4

View File

@@ -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
}