Hi,
the following patch removes the square brackets and elipsis from
unamed-opts so that the help string printed is more standard and make
more sense (path is both inline and attached).

Index: src/gm.cc
===================================================================
--- src.orig/gm.cc
+++ src/gm.cc
@@ -650,7 +650,7 @@ CmdlineParserCreator::generate_usage_str
    }

  if ( unamed_options )
-    usage << " [" << unamed_options << "]...";
+    usage << " " << unamed_options;

  string wrapped;
Index: src/gm.cc
===================================================================
--- src.orig/gm.cc
+++ src/gm.cc
@@ -650,7 +650,7 @@ CmdlineParserCreator::generate_usage_str
     }
 
   if ( unamed_options )
-    usage << " [" << unamed_options << "]...";
+    usage << " " << unamed_options;
 
   string wrapped;
 
_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Reply via email to