diff options
Diffstat (limited to 'misc/dist/shell/_godot.zsh-completion')
| -rw-r--r-- | misc/dist/shell/_godot.zsh-completion | 31 | 
1 files changed, 22 insertions, 9 deletions
diff --git a/misc/dist/shell/_godot.zsh-completion b/misc/dist/shell/_godot.zsh-completion index 9d42f4fe05..b17bb6e66b 100644 --- a/misc/dist/shell/_godot.zsh-completion +++ b/misc/dist/shell/_godot.zsh-completion @@ -30,10 +30,11 @@ _arguments \    '(-h --help)'{-h,--help}'[display the full help message]' \    '--version[display the version string]' \    '(-v --verbose)'{-v,--verbose}'[use verbose stdout mode]' \ -  '--quiet[quiet mode, silences stdout messages (errors are still displayed)]' \ +  '(-q --quiet)'{-q,--quiet}'[quiet mode, silences stdout messages (errors are still displayed)]' \    '(-e --editor)'{-e,--editor}'[start the editor instead of running the scene]' \    '(-p --project-manager)'{-p,--project-manager}'[start the project manager, even if a project is auto-detected]' \ -  '(-q --quit)'{-q,--quit}'[quit after the first iteration]' \ +  '--debug-server[start the editor debug server]:editor debugger listen address' \ +  '--quit[quit after the first iteration]' \    '(-l --language)'{-l,--language}'[use a specific locale (<locale> being a two-letter code)]:two-letter locale code' \    "--path[path to a project (<directory> must contain a 'project.godot' file)]:path to directory with 'project.godot' file:_dirs" \    '(-u --upwards)'{-u,--upwards}'[scan folders upwards for project.godot file]' \ @@ -42,7 +43,12 @@ _arguments \    '--remote-fs[use a remote filesystem]:remote filesystem address' \    '--remote-fs-password[password for remote filesystem]:remote filesystem password' \    '--audio-driver[set the audio driver]:audio driver name' \ -  "--video-driver[set the video driver]:video driver name:((Vulkan\:'Vulkan renderer' GLES2\:'OpenGL ES 2.0 renderer'))" \ +  '--display-driver[set the display driver]:display driver name' \ +  "--rendering-driver[set the rendering driver]:rendering driver name:((vulkan\:'Vulkan renderer' opengl3\:'OpenGL ES 3.0 renderer' dummy\:'Dummy renderer'))" \ +  "--gpu-index[use a specific GPU (run with --verbose to get available device list)]:device index" \ +  '--text-driver[set the text driver]:text driver name' \ +  '--tablet-driver[set the pen tablet input driver]:tablet driver name' \ +  '--headless[enable headless mode (--display-driver headless --audio-driver Dummy), useful for servers and with --script]' \    '(-f --fullscreen)'{-f,--fullscreen}'[request fullscreen mode]' \    '(-m --maximized)'{-m,--maximized}'[request a maximized window]' \    '(-w --windowed)'{-w,--windowed}'[request windowed mode]' \ @@ -50,12 +56,17 @@ _arguments \    '--resolution[request window resolution]:resolution in WxH format' \    '--position[request window position]:position in X,Y format' \    '--headless[enable headless mode (--display-driver headless --audio-driver Dummy). Useful for servers and with --script]' \ +  '--single-window[use a single window (no separate subwindows)]' \    '(-d --debug)'{-d,--debug}'[debug (local stdout debugger)]' \    '(-b --breakpoints)'{-b,--breakpoints}'[specify the breakpoint list as source::line comma-separated pairs, no spaces (use %20 instead)]:breakpoint list' \    '--profiling[enable profiling in the script debugger]' \ +  '--gpu-profile[show a GPU profile of the tasks that took the most time during frame rendering]' \ +  '--gpu-validation[enable graphics API validation layers for debugging]' \ +  '--gpu-abort[abort on graphics API usage errors (usually validation layer errors)]' \    '--remote-debug[enable remote debugging]:remote debugger address' \    '--debug-collisions[show collision shapes when running the scene]' \    '--debug-navigation[show navigation polygons when running the scene]' \ +  '--debug-stringnames[print all StringName allocations to stdout when the engine quits]' \    '--frame-delay[simulate high CPU load (delay each frame by the given number of milliseconds)]:number of milliseconds' \    '--time-scale[force time scale (higher values are faster, 1.0 is normal speed)]:time scale' \    '--disable-render-loop[disable render loop so rendering only occurs when called explicitly from script]' \ @@ -64,11 +75,13 @@ _arguments \    '--print-fps[print the frames per second to the stdout]' \    '(-s, --script)'{-s,--script}'[run a script]:path to script:_files' \    '--check-only[only parse for errors and quit (use with --script)]' \ -  '--export[export the project using the given preset and matching release template]:export preset name' \ -  '--export-debug[same as --export, but using the debug template]:export preset name' \ -  '--export-pack[same as --export, but only export the game pack for the given preset]:export preset name' \ -  '--doctool[dump the engine API reference to the given path in XML format, merging if existing files are found]:path to base Godot build directory:_dirs' \ +  '--export[export the project using the given preset and matching release template]:export preset name then path' \ +  '--export-debug[same as --export, but using the debug template]:export preset name then path' \ +  '--export-pack[same as --export, but only export the game pack for the given preset]:export preset name then path' \ +  '--convert-3to4[converts project from Godot 3.x to Godot 4.x]' \ +  '--validate-conversion-3to4[shows what elements will be renamed when converting project from Godot 3.x to Godot 4.x]' \ +  '--doctool[dump the engine API reference to the given path in XML format, merging if existing files are found]:path to base Godot build directory (optional):_dirs' \    '--no-docbase[disallow dumping the base types (used with --doctool)]' \    '--build-solutions[build the scripting solutions (e.g. for C# projects)]' \ -  '--gdnative-generate-json-api[generate JSON dump of the Godot API for GDNative bindings]' \ -  '--test[run a unit test]:unit test name' +  '--dump-extension-api[generate JSON dump of the Godot API for GDExtension bindings named "extension_api.json" in the current folder]' \ +  '--test[run all unit tests; run with "--test --help" for more information]'  |