Commit 8eb1dc6c authored by Christophe Geuzaine's avatar Christophe Geuzaine

-v should also be pruned from args passed to petsc

parent c66e1b7b
Pipeline #2954 passed with stage
in 56 minutes and 24 seconds
......@@ -130,7 +130,7 @@ void Msg::Init(int argc, char **argv)
// prune argv from gmsh-specific options that make PETSc verbose
for(int i = 0; i < argc; i++){
std::string val(argv[i]);
if(val != "-info" && val != "-help" && val != "-version")
if(val != "-info" && val != "-help" && val != "-version" && val != "-v")
sargv[sargc++] = argv[i];
}
PetscInitialize(&sargc, &sargv, PETSC_NULL, PETSC_NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment