mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Bump to 7.0.6
This commit is contained in:
@@ -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:
|
||||
|
||||
11
VBoxManage
11
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}) )
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user