mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Updates showmediuminfo command
This commit is contained in:
@@ -2574,9 +2574,6 @@ _VBoxManage() {
|
|||||||
showmediuminfo)
|
showmediuminfo)
|
||||||
if [[ ${prev} == ${cmd} ]]; then
|
if [[ ${prev} == ${cmd} ]]; then
|
||||||
COMPREPLY=( $(compgen -W "disk dvd floppy" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "disk dvd floppy" -- ${cur}) )
|
||||||
_hdd_comp
|
|
||||||
_dvds_comp
|
|
||||||
_floppy_comp
|
|
||||||
else
|
else
|
||||||
case "${prev}" in
|
case "${prev}" in
|
||||||
disk)
|
disk)
|
||||||
@@ -2589,9 +2586,7 @@ _VBoxManage() {
|
|||||||
_floppy_comp
|
_floppy_comp
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
items=(--delete)
|
COMPREPLY=( )
|
||||||
_get_excluded_items "${items[@]}"
|
|
||||||
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user