1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-04-11 01:07:18 +00:00

provide a message in case of an error

This commit is contained in:
Gasan (G.) Guseinov 2023-03-03 16:10:00 +01:00
parent 567ea8ebc9
commit a1ce006dbe

View file

@ -175,6 +175,7 @@ _%[1]s()
if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then
__%[1]s_debug "Completion received error. Ignoring completions."
_message "${out}"
return
fi