1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Fix doctool misleading error message

This commit is contained in:
Andrii Doroshenko (Xrayez)
2020-03-07 16:40:59 +02:00
parent 54fa07e7f0
commit b0e8177306

View File

@@ -1509,7 +1509,7 @@ bool Main::start() {
{ {
DirAccessRef da = DirAccess::open(doc_tool); DirAccessRef da = DirAccess::open(doc_tool);
ERR_FAIL_COND_V_MSG(!da, false, "Argument supplied to --doctool must be a base Godot build directory."); ERR_FAIL_COND_V_MSG(!da, false, "Argument supplied to --doctool must be a valid directory path.");
} }
DocData doc; DocData doc;
doc.generate(doc_base); doc.generate(doc_base);