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

-plugin, -noplugin

parent 2d2d4db6
No related branches found
No related tags found
No related merge requests found
// $Id: GetOptions.cpp,v 1.29 2001-07-08 15:45:47 geuzaine Exp $ // $Id: GetOptions.cpp,v 1.30 2001-07-31 08:10:33 geuzaine Exp $
#include <unistd.h> #include <unistd.h>
#include "Gmsh.h" #include "Gmsh.h"
...@@ -371,9 +371,12 @@ void Get_Options (int argc, char *argv[], int *nbfiles) { ...@@ -371,9 +371,12 @@ void Get_Options (int argc, char *argv[], int *nbfiles) {
else if(!strcmp(argv[i]+1, "noview")){ else if(!strcmp(argv[i]+1, "noview")){
opt_view_visible(0, GMSH_SET, 0); i++; opt_view_visible(0, GMSH_SET, 0); i++;
} }
else if(!strcmp(argv[i]+1, "plug")){ else if(!strcmp(argv[i]+1, "plugin")){
opt_general_default_plugins(0, GMSH_SET, 1); i++; opt_general_default_plugins(0, GMSH_SET, 1); i++;
} }
else if(!strcmp(argv[i]+1, "noplugin")){
opt_general_default_plugins(0, GMSH_SET, 0); i++;
}
else if(!strcmp(argv[i]+1, "link")){ else if(!strcmp(argv[i]+1, "link")){
CTX.post.link = 2 ; i++; CTX.post.link = 2 ; i++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment