BUG: make sure the gui still runs...
This commit is contained in:
parent
9cd850c4c7
commit
71577b1d00
|
@ -70,7 +70,7 @@ int main(int argc, char** argv)
|
|||
// check docs first so that X is not need to get docs
|
||||
// do docs, if args were given
|
||||
cmDocumentation doc;
|
||||
if(doc.CheckOptions(argc, argv))
|
||||
if(argc >1 && doc.CheckOptions(argc, argv))
|
||||
{
|
||||
// Construct and print requested documentation.
|
||||
cmake hcm;
|
||||
|
|
Loading…
Reference in New Issue