Fix doctool misleading error message

(cherry picked from commit b0e8177306)
This commit is contained in:
Andrii Doroshenko (Xrayez) 2020-03-07 16:40:59 +02:00 committed by Rémi Verschelde
parent deda90bad7
commit c663b3d5f8
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1559,7 +1559,7 @@ bool Main::start() {
{
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;
doc.generate(doc_base);