summaryrefslogtreecommitdiffstats
path: root/misc/dist/shell/godot.fish
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2024-01-19 14:39:00 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2024-01-19 20:30:04 +0100
commit6e5e7b8cb7c99caf0003eb65320a2397088bb6b1 (patch)
treed35f049a85ed5e93b8a703d631fa978443c7e300 /misc/dist/shell/godot.fish
parent0bcc0e92b3f0ac57d4c4650722f347593a258572 (diff)
downloadredot-engine-6e5e7b8cb7c99caf0003eb65320a2397088bb6b1.tar.gz
Add `--log-file` command line argument to write output log to a file
This works even if file logging is disabled in the project settings, or for the editor/project manager. `--log-file`'s value can be an absolute path or relative to the project directory (similar to existing arguments like `--write-movie`).
Diffstat (limited to 'misc/dist/shell/godot.fish')
-rw-r--r--misc/dist/shell/godot.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/dist/shell/godot.fish b/misc/dist/shell/godot.fish
index fbfa7344f1..3f0675fcb2 100644
--- a/misc/dist/shell/godot.fish
+++ b/misc/dist/shell/godot.fish
@@ -67,7 +67,8 @@ complete -c godot -l gpu-index -d "Use a specific GPU (run with --verbose to get
complete -c godot -l text-driver -d "Set the text driver" -x
complete -c godot -l tablet-driver -d "Set the pen tablet input driver" -x
complete -c godot -l headless -d "Enable headless mode (--display-driver headless --audio-driver Dummy). Useful for servers and with --script"
-complete -c godot -l write-movie -d "Writes a video to the specified path (usually with .avi or .png extension). --fixed-fps is forced when enabled" -x
+complete -c godot -l log-file -d "Write output/error log to the specified path instead of the default location defined by the project" -x
+complete -c godot -l write-movie -d "Write a video to the specified path (usually with .avi or .png extension). --fixed-fps is forced when enabled" -x
# Display options:
complete -c godot -s f -l fullscreen -d "Request fullscreen mode"