Re: getopt error message wording

2006-09-24 Thread Paul Eggert
[EMAIL PROTECTED] (Eric Blake) writes: > Is it worth updating the getopt > module to depend on posixver and avoid this term except when > _POSIX2_VERSION is set to the older version of POSIX? I'd say "no". Such an update would affect behavior only if POSIXLY_CORRECT is set, right? Normally it's

getopt error message wording

2006-09-24 Thread Eric Blake
Currently, getopt bases its decision of whether to print "illegal option" or "invalid option" solely on the presence of POSIXLY_CORRECT, but POSIX 2001 relaxed the requirements so that the error message no longer need use the term "illegal". Is it worth updating the getopt module to depend on posi