From 59ffe61fd626372fe97cebcdca6962a5b10392ef Mon Sep 17 00:00:00 2001 From: Roman Dobosz Date: Mon, 20 Mar 2023 12:43:40 +0100 Subject: [PATCH] Bump to 7.0.6 --- README.rst | 2 +- VBoxManage | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index e1ce1ca..788b93d 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.4, and should contain all commands and their options. +7.0.6, 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 35f4251..f889220 100644 --- a/VBoxManage +++ b/VBoxManage @@ -4,7 +4,7 @@ # URL: https://bitbucket.org/gryf/vboxmanage-bash-completion # URL: https://github.com/gryf/vboxmanage-bash-completion # License: 3-clause BSD-style license (see LICENSE file) -# Version: 7.0.4 +# Version: 7.0.6 _VBoxManage() { @@ -1517,8 +1517,8 @@ _VBoxManage() { ;; mktemp) - items=( --domain --mode --quiet --secure --tmpdir - --username --verbose ) + items=( --directory --domain --mode --quiet --secure + --tmpdir --username --verbose ) [[ " ${COMP_WORDS[*]} " != *" --password "* && " ${COMP_WORDS[*]} " != *" --passwordfile "* ]] && items+=(--passwordfile --password) @@ -2828,8 +2828,9 @@ _VBoxManage() { case "${subcommand}" in add|modify) local items=(--target --name --action --active - --vendorid --productid --revision --manufacturer - --product --remote --serialnumber --maskedinterfaces) + --vendorid --productid --port --revision + --manufacturer --product --remote --serialnumber + --maskedinterfaces) _get_excluded_items "${items[@]}" COMPREPLY=( $(compgen -W "$result" -- ${cur}) ) ;;