summaryrefslogtreecommitdiffstats
path: root/misc/dist/shell/godot.fish
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-12-07 18:06:40 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-03-13 23:55:01 +0100
commiteae16f73a606978beeeb0cfd693d8d948667f731 (patch)
treed31d68e47719dd86303055c8a753176fff067088 /misc/dist/shell/godot.fish
parent7a454842d4bb2c5f96a986df21a97888e1649887 (diff)
downloadredot-engine-eae16f73a606978beeeb0cfd693d8d948667f731.tar.gz
Make `-q` CLI argument toggle quiet stdout instead of quitting
`-q` is a common toggle in a command line applications for quiet mode (see apt or dnf for examples). In contrast, `--quit` isn't needed as often.
Diffstat (limited to 'misc/dist/shell/godot.fish')
-rw-r--r--misc/dist/shell/godot.fish5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/dist/shell/godot.fish b/misc/dist/shell/godot.fish
index 610a8c1a2f..880851dd23 100644
--- a/misc/dist/shell/godot.fish
+++ b/misc/dist/shell/godot.fish
@@ -37,12 +37,13 @@ complete -c godot -e
complete -c godot -s h -l help -d "Display the full help message"
complete -c godot -l version -d "Display the version string"
complete -c godot -s v -l verbose -d "Use verbose stdout mode"
-complete -c godot -l quiet -d "Quiet mode, silences stdout messages (errors are still displayed)"
+complete -c godot -s q -l quiet -d "Quiet mode, silences stdout messages (errors are still displayed)"
# Run options:
complete -c godot -s e -l editor -d "Start the editor instead of running the scene"
complete -c godot -s p -l project-manager -d "Start the project manager, even if a project is auto-detected"
-complete -c godot -s q -l quit -d "Quit after the first iteration"
+complete -c godot -l debug-server -d "Start the editor debug server (<protocol>://<host/IP>[:<port>] address)" -x
+complete -c godot -l quit -d "Quit after the first iteration"
complete -c godot -s l -l language -d "Use a specific locale (<locale> being a two-letter code)" -x
complete -c godot -l path -d "Path to a project (<directory> must contain a 'project.godot' file)" -r
complete -c godot -s u -l upwards -d "Scan folders upwards for project.godot file"