From c3e52e74e32904873d0b22c96346cc7784c77c61 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 20 Oct 2011 20:00:20 +0000
Subject: [PATCH] missing help for -format

---
 Common/CommandLine.cpp | 11 ++++++++---
 doc/texinfo/gmsh.texi  |  4 ++--
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/Common/CommandLine.cpp b/Common/CommandLine.cpp
index bcc0103901..8ce0e199dc 100644
--- a/Common/CommandLine.cpp
+++ b/Common/CommandLine.cpp
@@ -57,16 +57,20 @@ void PrintUsage(const char *name)
   Msg::Direct("  -match                Match geometries and meshes");
   Msg::Direct("Mesh options:");
   Msg::Direct("  -1, -2, -3            Perform 1D, 2D or 3D mesh generation, then exit");
+  Msg::Direct("  -format string        Select output mesh format (auto (default), msh, msh1, msh2,");
+  Msg::Direct("                          unv, vrml, ply2, stl, mesh, bdf, cgns, p3d, diff, med, ...)");
   Msg::Direct("  -refine               Perform uniform mesh refinement, then exit");
   Msg::Direct("  -part int             Partition after batch mesh generation");
-  Msg::Direct("  -partWeight <tri|quad|tet|prism|hex> int    Weight of a triangle/... during partitioning");
+  Msg::Direct("  -partWeight <tri|quad|tet|prism|hex> int");
+  Msg::Direct("                          Weight of a triangle/quad/etc. during partitioning");
   Msg::Direct("  -renumber             Renumber the mesh elements after batch mesh generation");
   Msg::Direct("  -saveall              Save all elements (discard physical group definitions)");
   Msg::Direct("  -o file               Specify output file name");
   Msg::Direct("  -bin                  Use binary format when available");  
   Msg::Direct("  -parametric           Save vertices with their parametric coordinates");  
   Msg::Direct("  -numsubedges          Set the number of subdivisions when displaying high order elements");  
-  Msg::Direct("  -algo string          Select mesh algorithm (meshadapt, del2d, front2d, delquad, del3d, front3d, mmg3d)");
+  Msg::Direct("  -algo string          Select mesh algorithm (meshadapt, del2d, front2d, delquad, ");
+  Msg::Direct("                          del3d, front3d, mmg3d)");
   Msg::Direct("  -smooth int           Set number of mesh smoothing steps");
   Msg::Direct("  -order int            Set mesh order (1, ..., 5)");
   Msg::Direct("  -optimize[_netgen]    Optimize quality of tetrahedral elements");
@@ -77,7 +81,8 @@ void PrintUsage(const char *name)
   Msg::Direct("  -clmin float          Set minimum mesh element size");
   Msg::Direct("  -clmax float          Set maximum mesh element size");
   Msg::Direct("  -anisoMax float       Set maximum anisotropy (only used in bamg for now)");
-  Msg::Direct("  -smoothRatio float    Set smoothing ration between mesh sizes at nodes of a same edge (only used in bamg)");
+  Msg::Direct("  -smoothRatio float    Set smoothing ration between mesh sizes at nodes of a same edge");
+  Msg::Direct("                          (only used in bamg)");
   Msg::Direct("  -clcurv               Automatically compute element sizes from curvatures");
   Msg::Direct("  -epslc1d              Set the accuracy of the evaluation of the LCFIELD for 1D mesh");
   Msg::Direct("  -swapangle            Set the threshold angle (in degree) between two adjacent faces");
diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi
index eeec7d9b5a..3efc1085c1 100644
--- a/doc/texinfo/gmsh.texi
+++ b/doc/texinfo/gmsh.texi
@@ -864,11 +864,11 @@ Save all elements (discard physical group definitions)
 @item -o file
 Specify mesh output file name
 @item -format string
-Set output mesh format (msh, msh1, msh2, unv, vrml, stl, mesh, bdf, p3d, cgns, med)
+Set output mesh format (msh, msh1, msh2, unv, vrml, stl, mesh, bdf, p3d, cgns, med, ...)
 @item -bin
 Use binary format when available
 @item -algo string
-Select mesh algorithm (meshadapt, del2d, front2d, del3d, front3d)
+Select mesh algorithm (meshadapt, del2d, front2d, del3d, front3d, ...)
 @item -smooth int
 Set number of mesh smoothing steps
 @item -optimize[_netgen]
-- 
GitLab