[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-gengetopt] [PATCH] remove square brackets and elipsis from unamed-
From: |
Eli Cohen |
Subject: |
[help-gengetopt] [PATCH] remove square brackets and elipsis from unamed-opts |
Date: |
Fri, 13 Oct 2006 00:02:53 +0200 |
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;
ggopt.patch
Description: Text Data
- [help-gengetopt] [PATCH] remove square brackets and elipsis from unamed-opts,
Eli Cohen <=