From 385c78df30119f89fcee3b499086fa9c7435c53e Mon Sep 17 00:00:00 2001 From: Roman Dobosz Date: Mon, 13 Mar 2023 14:41:13 +0100 Subject: [PATCH] Updated startvm command --- VBoxManage | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/VBoxManage b/VBoxManage index e635196..176925a 100644 --- a/VBoxManage +++ b/VBoxManage @@ -2567,14 +2567,10 @@ _VBoxManage() { _vms_comp vms 1 elif [[ "${prev}" == "--type" ]]; then COMPREPLY=( $(compgen -W "gui sdl headless separate" -- ${cur}) ) + elif [[ "${prev}" == "--passwordfile" ]]; then + COMPREPLY=( $(compgen -f -- ${cur}) ) else - local items=(--putenv -E) - _is_any_item_used "${items[@]}" - if [[ "${result}" == "ITIS" ]]; then - local items=(--type) - else - local items=(--type -E --putenv) - fi + items=( --type --putenv --passwordfile --password-id ) _get_excluded_items "${items[@]}" COMPREPLY=( $(compgen -W "$result" -- ${cur}) ) fi