mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Update createmedium command
This commit is contained in:
10
VBoxManage
10
VBoxManage
@@ -1016,8 +1016,8 @@ _VBoxManage() {
|
|||||||
COMPREPLY=( $(compgen -W "${items[*]}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${items[*]}" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
[[ " ${COMP_WORDS[@]} " == *" --size "* ||
|
[[ " ${COMP_WORDS[*]} " == *" --size "* ||
|
||||||
" ${COMP_WORDS[@]} " == *" --sizebyte "* ]] &&
|
" ${COMP_WORDS[*]} " == *" --sizebyte "* ]] &&
|
||||||
items=(--filename --diffparent --format --variant)
|
items=(--filename --diffparent --format --variant)
|
||||||
_get_excluded_items "${items[@]}"
|
_get_excluded_items "${items[@]}"
|
||||||
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
||||||
@@ -1031,12 +1031,12 @@ _VBoxManage() {
|
|||||||
_hdd_comp
|
_hdd_comp
|
||||||
;;
|
;;
|
||||||
--format)
|
--format)
|
||||||
COMPREPLY=( $(compgen -W "VDI VMDK VHD" --\
|
COMPREPLY=( $(compgen -W "VDI VMDK VHD" \
|
||||||
${cur}) )
|
-- ${cur}) )
|
||||||
;;
|
;;
|
||||||
--variant)
|
--variant)
|
||||||
COMPREPLY=( $(compgen -W "Standard Fixed Split2G
|
COMPREPLY=( $(compgen -W "Standard Fixed Split2G
|
||||||
Stream ESX Formatted" -- ${cur}) )
|
Stream ESX Formatted RawDisk" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user