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.
This commit is contained in:
Hugo Locurcio 2022-03-14 00:44:19 +01:00
parent 7a454842d4
commit 38995961df
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
5 changed files with 18 additions and 2 deletions

View file

@ -68,6 +68,7 @@ _complete_godot_options() {
--remote-debug
--debug-collisions
--debug-navigation
--debug-stringnames
--frame-delay
--time-scale
--disable-render-loop