Improve error handling for invalid CLI commands

fixes #12596
This commit is contained in:
Gunnar Beutner 2016-09-01 07:41:23 +02:00
parent fe3fe5cec5
commit 5304b08c2d
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ found_command:
visibleDesc.add(vdesc);
}
if (autocomplete)
if (autocomplete || !command)
return true;
po::options_description adesc;