summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-02-21 19:38:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-02-21 19:38:35 (GMT)
commit71577b1d0021a299d698dd25833a246bf7bffec2 (patch)
tree51676d0ccf4aa41bb0d9f87be4ba82eb3dc9a81a /Source
parent9cd850c4c798c5018356199b947f4215acbf2f79 (diff)
downloadCMake-71577b1d0021a299d698dd25833a246bf7bffec2.zip
CMake-71577b1d0021a299d698dd25833a246bf7bffec2.tar.gz
CMake-71577b1d0021a299d698dd25833a246bf7bffec2.tar.bz2
BUG: make sure the gui still runs...
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index 17d27c2..e78b686 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -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;