mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
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`).
This commit is contained in:
3
misc/dist/shell/_godot.zsh-completion
vendored
3
misc/dist/shell/_godot.zsh-completion
vendored
@@ -51,7 +51,8 @@ _arguments \
|
||||
'--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]' \
|
||||
'--write-movie[writes a video to the specified path (usually with .avi or .png extension)]:path to output video file' \
|
||||
'--log-file[write output/error log to the specified path instead of the default location defined by the project]:path to output log file' \
|
||||
'--write-movie[write a video to the specified path (usually with .avi or .png extension)]:path to output video file' \
|
||||
'(-f --fullscreen)'{-f,--fullscreen}'[request fullscreen mode]' \
|
||||
'(-m --maximized)'{-m,--maximized}'[request a maximized window]' \
|
||||
'(-w --windowed)'{-w,--windowed}'[request windowed mode]' \
|
||||
|
||||
Reference in New Issue
Block a user