mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Bump to 5.2.32 version
This commit is contained in:
@@ -6,7 +6,7 @@ script. However, in some point of time I've decided to rewrite it almost from
|
|||||||
scratch.
|
scratch.
|
||||||
|
|
||||||
Current version of script was written and tested against VBoxManage in version
|
Current version of script was written and tested against VBoxManage in version
|
||||||
5.2.26, and supports all commands (in some extent ;)).
|
5.2.32, and supports all commands (in some extent ;)).
|
||||||
|
|
||||||
Unlike other attempts, I've tried to make the script context aware. See the
|
Unlike other attempts, I've tried to make the script context aware. See the
|
||||||
simple session with the VBoxManage command below, to have an idea how it works:
|
simple session with the VBoxManage command below, to have an idea how it works:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# URL: https://bitbucket.org/gryf/vboxmanage-bash-completion
|
# URL: https://bitbucket.org/gryf/vboxmanage-bash-completion
|
||||||
# URL: https://github.com/gryf/vboxmanage-bash-completion
|
# URL: https://github.com/gryf/vboxmanage-bash-completion
|
||||||
# License: 3-clause BSD-style license (see LICENSE file)
|
# License: 3-clause BSD-style license (see LICENSE file)
|
||||||
# Version: 5.2.26
|
# Version: 5.2.32
|
||||||
|
|
||||||
_VBoxManage() {
|
_VBoxManage() {
|
||||||
local cur prev opts cmd subcommand tmp items name index result
|
local cur prev opts cmd subcommand tmp items name index result
|
||||||
@@ -1621,7 +1621,7 @@ _VBoxManage() {
|
|||||||
--usbrename --apic --x2apic --paravirtdebug --cpu-profile
|
--usbrename --apic --x2apic --paravirtdebug --cpu-profile
|
||||||
--biosapic --ibpb-on-vm-entry --ibpb-on-vm-exit --spec-ctrl
|
--biosapic --ibpb-on-vm-entry --ibpb-on-vm-exit --spec-ctrl
|
||||||
--audioin --audioout --l1d-flush-on-sched
|
--audioin --audioout --l1d-flush-on-sched
|
||||||
--l1d-flush-on-vm-entry)
|
--l1d-flush-on-vm-entry --mds-clear-on-sched --mds-clear-on-vm-entry)
|
||||||
|
|
||||||
if [[ ${prev} == ${cmd} ]]; then
|
if [[ ${prev} == ${cmd} ]]; then
|
||||||
_vms_comp vms
|
_vms_comp vms
|
||||||
@@ -1662,7 +1662,8 @@ _VBoxManage() {
|
|||||||
--tracing-allow-vm-access|--usbcardreader|\
|
--tracing-allow-vm-access|--usbcardreader|\
|
||||||
--autostart-enabled|--videocap|--usbxhci|--apic|--x2apic|\
|
--autostart-enabled|--videocap|--usbxhci|--apic|--x2apic|\
|
||||||
--ibpb-on-vm-entry|--ibpb-on-vm-exit|--spec-ctrl|--audioin|\
|
--ibpb-on-vm-entry|--ibpb-on-vm-exit|--spec-ctrl|--audioin|\
|
||||||
--audioout|--l1d-flush-on-sched|--l1d-flush-on-vm-entry)
|
--audioout|--l1d-flush-on-sched|--l1d-flush-on-vm-entry|\
|
||||||
|
--mds-clear-on-sched|--mds-clear-on-vm-entry)
|
||||||
COMPREPLY=( $(compgen -W "on off" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "on off" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user