mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 03:20:20 +01:00
Removed trailing spaces.
This commit is contained in:
12
VBoxManage
12
VBoxManage
@@ -453,7 +453,7 @@ _VBoxManage() {
|
|||||||
[[ ${item^^} == ${cur^^}* ]] && COMPREPLY+=("$item")
|
[[ ${item^^} == ${cur^^}* ]] && COMPREPLY+=("$item")
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
_cloudprofiles_comp() {
|
_cloudprofiles_comp() {
|
||||||
local profiles
|
local profiles
|
||||||
local item
|
local item
|
||||||
@@ -717,7 +717,7 @@ _VBoxManage() {
|
|||||||
COMPREPLY=( $(compgen -W "instances images" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "instances images" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
instance)
|
instance)
|
||||||
COMPREPLY=( $(compgen -W "create info terminate start
|
COMPREPLY=( $(compgen -W "create info terminate start
|
||||||
pause" -- ${cur}) )
|
pause" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
image)
|
image)
|
||||||
@@ -748,7 +748,7 @@ _VBoxManage() {
|
|||||||
COMPREPLY=( $(compgen -W "true false" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "true false" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
--launch-mode)
|
--launch-mode)
|
||||||
COMPREPLY=( $(compgen -W "NATIVE EMULATED
|
COMPREPLY=( $(compgen -W "NATIVE EMULATED
|
||||||
PARAVIRTUALIZED" -- ${cur}) )
|
PARAVIRTUALIZED" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -759,7 +759,7 @@ _VBoxManage() {
|
|||||||
" ${COMP_WORDS[@]} " == *" instance pause"* ]]; then
|
" ${COMP_WORDS[@]} " == *" instance pause"* ]]; then
|
||||||
COMPREPLY=( $(compgen -W "--id" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "--id" -- ${cur}) )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ " ${COMP_WORDS[@]} " == *" image create"* ]]; then
|
if [[ " ${COMP_WORDS[@]} " == *" image create"* ]]; then
|
||||||
items=(--display-name --bucket-name --object-name --instance-id)
|
items=(--display-name --bucket-name --object-name --instance-id)
|
||||||
|
|
||||||
@@ -771,11 +771,11 @@ _VBoxManage() {
|
|||||||
COMPREPLY=( $(compgen -W "--id" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "--id" -- ${cur}) )
|
||||||
fi
|
fi
|
||||||
if [[ " ${COMP_WORDS[@]} " == *" image import"* ]]; then
|
if [[ " ${COMP_WORDS[@]} " == *" image import"* ]]; then
|
||||||
COMPREPLY=( $(compgen -W "--id --bucket-name
|
COMPREPLY=( $(compgen -W "--id --bucket-name
|
||||||
--object-name" -- ${cur}) )
|
--object-name" -- ${cur}) )
|
||||||
fi
|
fi
|
||||||
if [[ " ${COMP_WORDS[@]} " == *" image export"* ]]; then
|
if [[ " ${COMP_WORDS[@]} " == *" image export"* ]]; then
|
||||||
COMPREPLY=( $(compgen -W "--id --display-name --bucket-name
|
COMPREPLY=( $(compgen -W "--id --display-name --bucket-name
|
||||||
--object-name" -- ${cur}) )
|
--object-name" -- ${cur}) )
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user