Merge pull request #36885 from Xrayez/doctool-err-msg

Fix doctool misleading error message
This commit is contained in:
Rémi Verschelde 2020-07-01 15:10:09 +02:00 committed by GitHub
commit 58be2887f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1620,7 +1620,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.");
}
#ifndef MODULE_MONO_ENABLED