diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 766eead53..ddff71d9e 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -423,7 +423,7 @@ int do_cmake(int ac, char** av) std::vector args; for(int i =0; i < ac; ++i) { - if(strcmp(av[i], "-i") == 0) + if(!command && strcmp(av[i], "-i") == 0) { wiz = true; }