|
From: | Lorenzo Bettini |
Subject: | Re: [help-gengetopt] spaces in group names |
Date: | Tue, 29 Apr 2003 22:57:46 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 |
Matthew K. Junker wrote:
It would be handy to have spaces in group names when using the --help option. I modified three files to make this possible. In the generated code, all non-alphanumeric characters in the group name string are replaced with "_". In the printed text, the string is left unaltered. I'm not familiar with the process of generating files in the skels directory, and I'm not a heavy-duty C++ user, so I just did what worked (it took me long enough to find the c_str() function). I'm sure it can be improved. One major improvement would be not to have a separate copy of clean_string in every file.
HiI fixed this problem in a smoother way. You may find the next candidate release temporarily here
http://rap.dsi.unifi.it/~bettini/gengetopt-2.9.1.tar.gz thanks Lorenzo -- +-----------------------------------------------------+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD in Computer Science | | Dip. Sistemi e Informatica, Univ. di Firenze | | Tel +39 055 4796741, Fax +39 055 4796730 | | Florence - Italy (Linux User # 158233) | | Home Page : http://www.lorenzobettini.it | | http://music.dsi.unifi.it XKlaim language | | http://www.lorenzobettini.it/purple Cover Band | | http://www.gnu.org/software/src-highlite | | http://www.gnu.org/software/gengetopt | | http://www.lorenzobettini.it/software/gengen | +-----------------------------------------------------+
[Prev in Thread] | Current Thread | [Next in Thread] |