From 0077621f1b3629e85828af8581b6c5869f00a504 Mon Sep 17 00:00:00 2001 From: Roman Dobosz Date: Sun, 19 Mar 2023 16:34:40 +0100 Subject: [PATCH] Update storagectl command --- VBoxManage | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/VBoxManage b/VBoxManage index 7927d78..315e994 100644 --- a/VBoxManage +++ b/VBoxManage @@ -2782,8 +2782,8 @@ _VBoxManage() { ;; storagectl) - local items=(--name --add --controller --portcount --hostiocache - --bootable --rename --remove) + local items=( --add --bootable --controller --hostiocache --name + --portcount --remove --rename ) if [[ ${prev} == ${cmd} ]]; then _vms_comp vms else @@ -2791,12 +2791,13 @@ _VBoxManage() { COMPREPLY=( $(compgen -W "$result" -- ${cur}) ) case "${prev}" in --add) - COMPREPLY=( $(compgen -W "ide sata scsi floppy - sas usb pcie" -- ${cur}) ) + COMPREPLY=( $(compgen -W "floppy ide pcie sas sata scsi + usb" -- ${cur}) ) ;; --controller) - COMPREPLY=( $(compgen -W "LSILogic LSILogicSAS BusLogic - IntelAHCI PIIX3 PIIX4 ICH6 I82078 USB NVMe" -- ${cur}) ) + COMPREPLY=( $(compgen -W "BusLogic I82078 ICH6 IntelAhci + LSILogic LSILogicSAS NVMe PIIX3 PIIX4 USB VirtIO" \ + -- ${cur}) ) ;; --bootable|--hostiocache) COMPREPLY=( $(compgen -W "on off" -- ${cur}) )