mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Updated createvm command.
This commit is contained in:
11
VBoxManage
11
VBoxManage
@@ -1015,8 +1015,8 @@ _VBoxManage() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
createvm)
|
createvm)
|
||||||
items=(--name --groups --ostype --register --basefolder --uuid
|
items=( --basefolder --ciphercipher --default --group --name --ostype
|
||||||
--default)
|
--password-idpassword-id --passwordfile --register --uuid )
|
||||||
if [[ ${prev} == ${cmd} ]]; then
|
if [[ ${prev} == ${cmd} ]]; then
|
||||||
COMPREPLY=( $(compgen -W "${items[*]}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${items[*]}" -- ${cur}) )
|
||||||
else
|
else
|
||||||
@@ -1024,7 +1024,7 @@ _VBoxManage() {
|
|||||||
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
||||||
|
|
||||||
case "${prev}" in
|
case "${prev}" in
|
||||||
--groups)
|
--group)
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
_group_comp
|
_group_comp
|
||||||
;;
|
;;
|
||||||
@@ -1035,9 +1035,8 @@ _VBoxManage() {
|
|||||||
--basefolder)
|
--basefolder)
|
||||||
COMPREPLY=( $(compgen -o dirnames -- ${cur}) )
|
COMPREPLY=( $(compgen -o dirnames -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
--variant)
|
--passwordfile)
|
||||||
COMPREPLY=( $(compgen -W "Standard Fixed Split2G Stream
|
COMPREPLY=( $(compgen -f -- ${cur}) )
|
||||||
ESX" -- ${cur}) )
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user