summaryrefslogtreecommitdiffstats
path: root/misc/dist/shell/godot.fish
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-03-14 00:44:19 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-03-15 18:54:51 +0100
commit38995961dfbbd656f038e107fca75d94a71aa81a (patch)
tree6d02e4878717907b58096e106217a5cdc90d7729 /misc/dist/shell/godot.fish
parent7a454842d4bb2c5f96a986df21a97888e1649887 (diff)
downloadredot-engine-38995961dfbbd656f038e107fca75d94a71aa81a.tar.gz
Improve `--debug-stringnames` to be more useful
- Print all StringNames, not just the top 100. - Print statistics at the end of the list of StringNames, with unreferenced and rarely referenced StringNames. - List the CLI argument in `--help` and shell completion.
Diffstat (limited to 'misc/dist/shell/godot.fish')
-rw-r--r--misc/dist/shell/godot.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/dist/shell/godot.fish b/misc/dist/shell/godot.fish
index 610a8c1a2f..f756e4cd8a 100644
--- a/misc/dist/shell/godot.fish
+++ b/misc/dist/shell/godot.fish
@@ -78,6 +78,7 @@ complete -c godot -l gpu-abort -d "Abort on GPU errors (usually validation layer
complete -c godot -l remote-debug -d "Enable remote debugging"
complete -c godot -l debug-collisions -d "Show collision shapes when running the scene"
complete -c godot -l debug-navigation -d "Show navigation polygons when running the scene"
+complete -c godot -l debug-stringnames -d "Print all StringName allocations to stdout when the engine quits"
complete -c godot -l frame-delay -d "Simulate high CPU load (delay each frame by the given number of milliseconds)" -x
complete -c godot -l time-scale -d "Force time scale (higher values are faster, 1.0 is normal speed)" -x
complete -c godot -l disable-render-loop -d "Disable render loop so rendering only occurs when called explicitly from script"