diff options
-rw-r--r-- | etc/bash_completion.d/vyatta-op | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index d76874a..83b2050 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -297,6 +297,9 @@ _vyatta_op_invalid_completion () fi args[$i]=$arg let "i+=1" + if [ $[${#COMP_WORDS[@]}+1] -eq $i ];then + echo -ne "\n No completion found with prefix [$arg]" + fi done } |