diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-08-18 23:55:15 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-08-18 23:57:54 +0200 |
commit | a2043f124d0a2f913a01911f83b18bacf11738ef (patch) | |
tree | c2a70cbfaf176033fc0ce79ac6f71ba0dabc553a /modules/gdscript/language_server/gdscript_text_document.cpp | |
parent | 1bd740d18d714f815486b04bf4c6154ef6c355d9 (diff) | |
download | redot-engine-a2043f124d0a2f913a01911f83b18bacf11738ef.tar.gz |
Improve error messages for invalid rendering drivers/methods on the command line
- Deduplicate rendering driver names.
- Tweak grammar and punctuation to be consistent across both messages.
- Use "rendering method" terminology in the relevant error message.
Preview:
`--rendering-driver unknown`:
Unknown rendering driver 'unknown', aborting.
Valid options are 'vulkan', 'opengl3', 'opengl3_es' and 'dummy'.
`--rendering-method unknown`:
Unknown rendering method 'unknown', aborting.
Valid options are 'forward_plus', 'mobile' and 'gl_compatibility'.
Diffstat (limited to 'modules/gdscript/language_server/gdscript_text_document.cpp')
0 files changed, 0 insertions, 0 deletions