diff --git a/README.rst b/README.rst index b4ae814..4de71c2 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ script. However, in some point of time I've decided to rewrite it almost from scratch. Current version of script was written and tested against VBoxManage in version -7.0.14, and should contain all commands and their options. +7.0.20, and should contain all commands and their options. Unlike other attempts, I've tried to make the script context aware. See the simple session with the VBoxManage command below, to have an idea how it works: diff --git a/VBoxManage b/VBoxManage index 5959467..f49cced 100644 --- a/VBoxManage +++ b/VBoxManage @@ -3,7 +3,7 @@ # Author: Roman 'gryf' Dobosz # URL: https://github.com/gryf/vboxmanage-bash-completion # License: 3-clause BSD-style license (see LICENSE file) -# Version: 7.0.14 +# Version: 7.0.20 _VBoxManage() { @@ -1045,7 +1045,7 @@ _VBoxManage() { ;; createvm) - items=( --basefolder --cipher --default --group --name --ostype + items=( --basefolder --cipher --default --groups --name --ostype --password-id --password --register --uuid ) if [[ ${prev} == ${cmd} ]]; then COMPREPLY=( $(compgen -W "${items[*]}" -- ${cur}) ) @@ -1054,7 +1054,7 @@ _VBoxManage() { COMPREPLY=( $(compgen -W "$result" -- ${cur}) ) case "${prev}" in - --group) + --groups) COMPREPLY=() _group_comp ;;