Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
7776101b
Commit
7776101b
authored
14 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
new -n command line option to hide all views+meshes on startup; makes -noview obsolete
parent
685363b2
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Common/CommandLine.cpp
+11
-2
11 additions, 2 deletions
Common/CommandLine.cpp
doc/texinfo/gmsh.texi
+2
-4
2 additions, 4 deletions
doc/texinfo/gmsh.texi
with
13 additions
and
6 deletions
Common/CommandLine.cpp
+
11
−
2
View file @
7776101b
...
@@ -88,9 +88,8 @@ void PrintUsage(const char *name)
...
@@ -88,9 +88,8 @@ void PrintUsage(const char *name)
Msg
::
Direct
(
" -link int Select link mode between views (0, 1, 2, 3, 4)"
);
Msg
::
Direct
(
" -link int Select link mode between views (0, 1, 2, 3, 4)"
);
Msg
::
Direct
(
" -combine Combine views having identical names into multi-time-step views"
);
Msg
::
Direct
(
" -combine Combine views having identical names into multi-time-step views"
);
Msg
::
Direct
(
"Display options:"
);
Msg
::
Direct
(
"Display options:"
);
Msg
::
Direct
(
" -n Hide all meshes and post-processing views on startup"
);
Msg
::
Direct
(
" -nodb Disable double buffering"
);
Msg
::
Direct
(
" -nodb Disable double buffering"
);
Msg
::
Direct
(
" -noview Hide all views on startup"
);
Msg
::
Direct
(
" -nomesh Hide all meshes on startup"
);
Msg
::
Direct
(
" -fontsize int Specify the font size for the GUI"
);
Msg
::
Direct
(
" -fontsize int Specify the font size for the GUI"
);
Msg
::
Direct
(
" -theme string Specify FLTK GUI theme"
);
Msg
::
Direct
(
" -theme string Specify FLTK GUI theme"
);
Msg
::
Direct
(
" -display string Specify display"
);
Msg
::
Direct
(
" -display string Specify display"
);
...
@@ -590,6 +589,16 @@ void GetOptions(int argc, char *argv[])
...
@@ -590,6 +589,16 @@ void GetOptions(int argc, char *argv[])
opt_mesh_volumes_faces
(
0
,
GMSH_SET
,
0.
);
opt_mesh_volumes_faces
(
0
,
GMSH_SET
,
0.
);
i
++
;
i
++
;
}
}
else
if
(
!
strcmp
(
argv
[
i
]
+
1
,
"n"
))
{
opt_view_visible
(
0
,
GMSH_SET
,
0
);
opt_mesh_points
(
0
,
GMSH_SET
,
0.
);
opt_mesh_lines
(
0
,
GMSH_SET
,
0.
);
opt_mesh_surfaces_edges
(
0
,
GMSH_SET
,
0.
);
opt_mesh_surfaces_faces
(
0
,
GMSH_SET
,
0.
);
opt_mesh_volumes_edges
(
0
,
GMSH_SET
,
0.
);
opt_mesh_volumes_faces
(
0
,
GMSH_SET
,
0.
);
i
++
;
}
else
if
(
!
strcmp
(
argv
[
i
]
+
1
,
"link"
))
{
else
if
(
!
strcmp
(
argv
[
i
]
+
1
,
"link"
))
{
i
++
;
i
++
;
if
(
argv
[
i
])
if
(
argv
[
i
])
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/gmsh.texi
+
2
−
4
View file @
7776101b
...
@@ -899,12 +899,10 @@ Combine views having identical names into multi-time-step views
...
@@ -899,12 +899,10 @@ Combine views having identical names into multi-time-step views
@noindent Display options:
@noindent Display options:
@ftable @code
@ftable @code
@item -n
Hide all meshes and post-processing views on startup
@item -nodb
@item -nodb
Disable double buffering
Disable double buffering
@item -noview
Hide all views on startup
@item -nomesh
Hide all meshes on startup
@item -fontsize int
@item -fontsize int
Specify the font size for the GUI
Specify the font size for the GUI
@item -theme string
@item -theme string
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment