summaryrefslogtreecommitdiff
path: root/misc/dist/shell/godot.bash-completion
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-13 22:31:05 +0100
committerGitHub <noreply@github.com>2022-03-13 22:31:05 +0100
commit7a454842d4bb2c5f96a986df21a97888e1649887 (patch)
treee2384a75ea184e6f3397ee26c8f0320ff2680fc0 /misc/dist/shell/godot.bash-completion
parent4f40a71e03bccf8c508748ebba3f81f535ef9b98 (diff)
parentf4a057337924d30912d84117ae286957d5c32a9f (diff)
Merge pull request #55703 from Calinou/tweak-cli-argument-order
Diffstat (limited to 'misc/dist/shell/godot.bash-completion')
-rw-r--r--misc/dist/shell/godot.bash-completion16
1 files changed, 13 insertions, 3 deletions
diff --git a/misc/dist/shell/godot.bash-completion b/misc/dist/shell/godot.bash-completion
index 56bf23a268..b0c38969f3 100644
--- a/misc/dist/shell/godot.bash-completion
+++ b/misc/dist/shell/godot.bash-completion
@@ -45,7 +45,12 @@ _complete_godot_options() {
--remote-fs
--remote-fs-password
--audio-driver
---video-driver
+--display-driver
+--rendering-driver
+--gpu-index
+--text-driver
+--tablet-driver
+--headless
--fullscreen
--maximized
--windowed
@@ -53,9 +58,13 @@ _complete_godot_options() {
--resolution
--position
--headless
+--single-window
--debug
--breakpoints
--profiling
+--gpu-profile
+--vk-layers
+--gpu-abort
--remote-debug
--debug-collisions
--debug-navigation
@@ -73,6 +82,7 @@ _complete_godot_options() {
--doctool
--no-docbase
--build-solutions
+--dump-extension-api
--test
" -- "$1"))
}
@@ -98,10 +108,10 @@ _complete_godot_bash() {
local IFS=$' \n\t'
# shellcheck disable=SC2207
COMPREPLY=($(compgen -W "unsafe safe separate" -- "$cur"))
- elif [[ $prev == "--video-driver" ]]; then
+ elif [[ $prev == "--rendering-driver" ]]; then
local IFS=$' \n\t'
# shellcheck disable=SC2207
- COMPREPLY=($(compgen -W "Vulkan GLES2" -- "$cur"))
+ COMPREPLY=($(compgen -W "vulkan opengl3 dummy" -- "$cur"))
elif [[ $prev == "--path" || $prev == "--doctool" ]]; then
local IFS=$'\n\t'
# shellcheck disable=SC2207