aboutsummaryrefslogtreecommitdiffstats
path: root/src/_virtualbox
diff options
context:
space:
mode:
authorkiendang <kiend@pm.me>2018-11-17 10:05:47 +0800
committerkiendang <kiend@pm.me>2018-11-17 10:05:47 +0800
commitbc1dbe6b025600ebdaa902e5224261554618809f (patch)
tree0803edf913cc90d2d1518ec25f59d8ae695ec6ee /src/_virtualbox
parentMerge pull request #608 from zsh-users/cleanup (diff)
downloadzsh-completions-bc1dbe6b025600ebdaa902e5224261554618809f.tar
zsh-completions-bc1dbe6b025600ebdaa902e5224261554618809f.tar.gz
zsh-completions-bc1dbe6b025600ebdaa902e5224261554618809f.tar.bz2
zsh-completions-bc1dbe6b025600ebdaa902e5224261554618809f.tar.lz
zsh-completions-bc1dbe6b025600ebdaa902e5224261554618809f.tar.xz
zsh-completions-bc1dbe6b025600ebdaa902e5224261554618809f.tar.zst
zsh-completions-bc1dbe6b025600ebdaa902e5224261554618809f.zip
Update medium related commands for VBoxManage
Diffstat (limited to 'src/_virtualbox')
-rw-r--r--src/_virtualbox12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/_virtualbox b/src/_virtualbox
index 49869cf..833be61 100644
--- a/src/_virtualbox
+++ b/src/_virtualbox
@@ -110,10 +110,10 @@ _vboxmanage() {
'storageattach:attaches/modifies/removes a storage medium connected to a storage controller'
'storagectl:attaches/modifies/removes a storage controller'
'bandwidthctl:creates/deletes/modifies bandwidth groups'
- 'showhdinfo:shows information about a virtual hard disk image'
- 'createhd:creates a new virtual hard disk image'
- 'modifyhd:change the characteristics of a disk image after it has been created'
- 'clonehd:duplicates a registered virtual hard disk image to a new image file with a new unique identifier'
+ 'showmediuminfo:shows information about a virtual hard disk image'
+ 'createmedium:creates a new virtual hard disk image'
+ 'modifymedium:change the characteristics of a disk image after it has been created'
+ 'clonemedium:duplicates a registered virtual hard disk image to a new image file with a new unique identifier'
'convertfromraw:converts a raw disk image to a VirtualBox Disk Image (VDI) file'
'getextradata:retrieve string data to a virtual machine or to a VirtualBox configuration'
'setextradata:attach string data to a virtual machine or to a VirtualBox configuration'
@@ -171,7 +171,7 @@ _vboxmanage() {
:machine:_vboxmachines \
:modifyvm_option:_vboxopts_modifyvm
;;
- modifyhd)
+ modifymedium|modifyhd)
_arguments \
:filename:_files \
'--type:hd type:(normal writethrough immutable shareable readonly multiattach)' \
@@ -248,7 +248,7 @@ _vboxmanage() {
'--password: :' \
'--intnet: :'
;;
- createhd)
+ createmedium|createhd)
_arguments \
'--filename:filename:_files -g \*.{vdi,vmdk,vhd}' \
'--size:megabytes:' \