On Tue, Aug 31, 2010 at 4:02 AM, Hans-Christoph Steiner hans@at.or.atwrote:
That's a bug in the command line flag parsing, you should file a bug report. IMHO, the whole flag parser should be rewritten using on of the standard opt/flag parsing libraries. getopt is in libc but is more limited, I am sure there is a GNU parser that handles -s short and --long options well.
http://sourceforge.net/projects/argopt/ (inactive project, wonder if it's usable yet) http://directory.fsf.org/project/popt/ (x11 licence) i don't know is this is serious enough: http://wiki.tcl.tk/22050
Andras