GNU getopt tries to do too much when it reorders the commandline and
    therefor needs the "+" as a workaround.

I don't suppose it matters at this point, but I fail to see the
connection here.  You can tell GNU getopt to REQUIRE_ORDER instead of
PERMUTE without using +, either directly or setting POSIXLY_CORRECT in
various ways.  See the __ordering enum in getopt_int.h, for example.
(Seems like you probably already know this, so maybe it's unsuitable
somehow, if so, sorry for the noise.)

Also, I don't agree that it is "doing too much" to have PERMUTE be the
default for GNU.  It is very useful for most programs.  cvs has
exceptional command-line parsing needs.

Happy hacking,

Bug-cvs mailing list

Reply via email to