mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Update storagectl command
This commit is contained in:
13
VBoxManage
13
VBoxManage
@@ -2782,8 +2782,8 @@ _VBoxManage() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
storagectl)
|
storagectl)
|
||||||
local items=(--name --add --controller --portcount --hostiocache
|
local items=( --add --bootable --controller --hostiocache --name
|
||||||
--bootable --rename --remove)
|
--portcount --remove --rename )
|
||||||
if [[ ${prev} == ${cmd} ]]; then
|
if [[ ${prev} == ${cmd} ]]; then
|
||||||
_vms_comp vms
|
_vms_comp vms
|
||||||
else
|
else
|
||||||
@@ -2791,12 +2791,13 @@ _VBoxManage() {
|
|||||||
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
||||||
case "${prev}" in
|
case "${prev}" in
|
||||||
--add)
|
--add)
|
||||||
COMPREPLY=( $(compgen -W "ide sata scsi floppy
|
COMPREPLY=( $(compgen -W "floppy ide pcie sas sata scsi
|
||||||
sas usb pcie" -- ${cur}) )
|
usb" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
--controller)
|
--controller)
|
||||||
COMPREPLY=( $(compgen -W "LSILogic LSILogicSAS BusLogic
|
COMPREPLY=( $(compgen -W "BusLogic I82078 ICH6 IntelAhci
|
||||||
IntelAHCI PIIX3 PIIX4 ICH6 I82078 USB NVMe" -- ${cur}) )
|
LSILogic LSILogicSAS NVMe PIIX3 PIIX4 USB VirtIO" \
|
||||||
|
-- ${cur}) )
|
||||||
;;
|
;;
|
||||||
--bootable|--hostiocache)
|
--bootable|--hostiocache)
|
||||||
COMPREPLY=( $(compgen -W "on off" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "on off" -- ${cur}) )
|
||||||
|
|||||||
Reference in New Issue
Block a user