diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-02-21 19:38:35 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-02-21 19:38:35 (GMT) |
commit | 71577b1d0021a299d698dd25833a246bf7bffec2 (patch) | |
tree | 51676d0ccf4aa41bb0d9f87be4ba82eb3dc9a81a /Source/QtDialog | |
parent | 9cd850c4c798c5018356199b947f4215acbf2f79 (diff) | |
download | CMake-71577b1d0021a299d698dd25833a246bf7bffec2.zip CMake-71577b1d0021a299d698dd25833a246bf7bffec2.tar.gz CMake-71577b1d0021a299d698dd25833a246bf7bffec2.tar.bz2 |
BUG: make sure the gui still runs...
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 2 |
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; |