summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-03-21 08:46:05 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-03-21 09:08:51 +0100
commit10fa69285cc97bdb3cc0b842bd53edad34509b08 (patch)
tree8f109abee6ce88bf6f05796c3d49010ce654af03 /misc
parentb49ca9486cfae32a9d795ceca52b923820751879 (diff)
Add --print-fps option to output FPS to stdout
Works both for the editor and games. Projects can still use "debug/settings/stdout/print_fps" to enable it permanently. The --print-fps option takes precedence (so works even if the project setting is disabled). That setting is also no longer redefined on the fly based on the verbose flag, that was a mess.
Diffstat (limited to 'misc')
-rw-r--r--misc/dist/linux/godot.63
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/dist/linux/godot.6 b/misc/dist/linux/godot.6
index 04982d9919..86abdf6ef2 100644
--- a/misc/dist/linux/godot.6
+++ b/misc/dist/linux/godot.6
@@ -119,6 +119,9 @@ Disable crash handler when supported by the platform code.
.TP
\fB\-\-fixed\-fps\fR <fps>
Force a fixed number of frames per second. This setting disables real\-time synchronization.
+.TP
+\fB\-\-print\-fps\fR
+Print the frames per second to the stdout.
.SS "Standalone tools:"
.TP
\fB\-s\fR, \fB\-\-script\fR <script>