fix missing _get_word function in_qvm-vms-all-vmtags()

This commit is contained in:
taradiddles 2018-04-14 22:14:44 +03:00
parent b10b005be3
commit d185febd13

View File

@ -174,7 +174,7 @@ complete -F _qvm-vms-all-vmfeatures qvm-features
#----- arg1: vm(all) ; arg2: vm tags -----
_qvm-vms-all-vmtags() {
case "${COMP_CWORD}" in
case "$(_get-cword ${COMP_CWORD})" in
1) _complete-vms "" ;;
2) _complete-vmprops "$(_get-first-word)" "tags";;
esac