mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Updated clonevm command
This commit is contained in:
@@ -601,8 +601,8 @@ _VBoxManage() {
|
|||||||
_vms_comp vms
|
_vms_comp vms
|
||||||
else
|
else
|
||||||
_find_item_name 2
|
_find_item_name 2
|
||||||
items=(--snapshot --mode --options --name --groups --basefolder
|
items=( --basefolder --groups --mode --name --options --register
|
||||||
--uuid --register --snapshot)
|
--snapshot --uuid )
|
||||||
_get_excluded_items "${items[@]}"
|
_get_excluded_items "${items[@]}"
|
||||||
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
||||||
case "${prev}" in
|
case "${prev}" in
|
||||||
@@ -615,8 +615,8 @@ _VBoxManage() {
|
|||||||
all" -- ${cur}) )
|
all" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
--options)
|
--options)
|
||||||
COMPREPLY=( $(compgen -W "link keepallmacs keepnatmacs
|
COMPREPLY=( $(compgen -W "Link KeepAllMACs KeepNATMACs
|
||||||
keepdisknames keephwuuids" -- ${cur}) )
|
KeepDiskNames KeepHwUUIDs" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
--groups)
|
--groups)
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
|
|||||||
Reference in New Issue
Block a user