[PATCH] remove square brackets and elipsis from unamed-opts
"Eli Cohen" <[email protected]>
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
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;
_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt
ggopt.patch
(text/x-patch, 321 B)
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;