diff options
-rw-r--r-- | src/openscad.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openscad.cc b/src/openscad.cc index 54e80ae..bc1d845 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -198,8 +198,9 @@ int main(int argc, char **argv) } #ifndef ENABLE_MDI - if (vm["input-file"].as<vector<string> >().size() > 1) + if (vm.count("input-file") > 1) { help(argv[0]); + } #endif currentdir = QDir::currentPath(); |