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)
|
||||
if [[ ${prev} == ${cmd} ]]; then
|
||||
COMPREPLY=( $(compgen -W "disk dvd floppy" -- ${cur}) )
|
||||
_hdd_comp
|
||||
_dvds_comp
|
||||
_floppy_comp
|
||||
else
|
||||
case "${prev}" in
|
||||
disk)
|
||||
@@ -2589,9 +2586,7 @@ _VBoxManage() {
|
||||
_floppy_comp
|
||||
;;
|
||||
*)
|
||||
items=(--delete)
|
||||
_get_excluded_items "${items[@]}"
|
||||
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
||||
COMPREPLY=( )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user