Browse Source

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

Fix doctool misleading error message
Rémi Verschelde 5 years ago
parent
commit
58be2887f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/main.cpp

+ 1 - 1
main/main.cpp

@@ -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