mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
provide a message in case of an error
This commit is contained in:
parent
567ea8ebc9
commit
a1ce006dbe
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ _%[1]s()
|
||||||
|
|
||||||
if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then
|
if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then
|
||||||
__%[1]s_debug "Completion received error. Ignoring completions."
|
__%[1]s_debug "Completion received error. Ignoring completions."
|
||||||
|
_message "${out}"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue