Skip to content
Snippets Groups Projects
Commit d9460538 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

print info on terminal by default in non-gui version

parent b6bea3f0
No related branches found
No related tags found
No related merge requests found
...@@ -12,15 +12,15 @@ ...@@ -12,15 +12,15 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
CTX::instance()->terminal = CTX::instance()->noPopup = 1;
if(argc < 2){ if(argc < 2){
CTX::instance()->terminal = 1;
PrintUsage(argv[0]); PrintUsage(argv[0]);
exit(0); exit(0);
} }
new GModel(); new GModel();
GmshInitialize(argc, argv); GmshInitialize(argc, argv);
CTX::instance()->terminal = CTX::instance()->noPopup = 1;
GmshBatch(); GmshBatch();
GmshFinalize(); GmshFinalize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment