summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 766eead..ddff71d 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -423,7 +423,7 @@ int do_cmake(int ac, char** av)
std::vector<std::string> args;
for(int i =0; i < ac; ++i)
{
- if(strcmp(av[i], "-i") == 0)
+ if(!command && strcmp(av[i], "-i") == 0)
{
wiz = true;
}