ENH: Clarification of help dumped when no arguments are given and no test file is found.

This commit is contained in:
Brad King 2003-08-07 17:43:37 -04:00
parent 5523c4a967
commit 74980113da
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,12 @@ int main (int argc, char *argv[])
// arguments to run tests.
if(argc > 1 || !cmSystemTools::FileExists("DartTestfile.txt"))
{
if(argc == 1)
{
std::cout << "*********************************" << std::endl;
std::cout << "No test configuration file found!" << std::endl;
std::cout << "*********************************" << std::endl;
}
cmDocumentation doc;
if(doc.CheckOptions(argc, argv))
{