diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-12-21 23:42:39 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-12-21 23:42:39 +0100 |
commit | 6da4d5bd609dbf03e1f5f0944cbcac0604f941f8 (patch) | |
tree | 6a8dbe21c8a02db0aefd076011d9379b488bbfea /main/main.cpp | |
parent | 9d1cbab1c432b6f1d66ec939445bec68b6af519e (diff) | |
download | redot-engine-6da4d5bd609dbf03e1f5f0944cbcac0604f941f8.tar.gz |
Suggest `--headless` CLI argument in DisplayServer not found error message
This is helpful for newcomers setting up Godot on CI, as this provides
automatic guidance as for why it doesn't run out of the box if
there's no X11 server available.
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 9bd2578eba..4dcd92bcff 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2463,7 +2463,7 @@ Error Main::setup2() { } if (err != OK || display_server == nullptr) { - ERR_PRINT("Unable to create DisplayServer, all display drivers failed."); + ERR_PRINT("Unable to create DisplayServer, all display drivers failed.\nUse \"--headless\" command line argument to run the engine in headless mode if this is desired (e.g. for continuous integration)."); return err; } |