News for hackers. Stuff that matters.
Re:Ask HN: How do you search for "-42" in Google? by eklitzke on Monday February 21, 2011 @05:06PM (#2247453)
This is a feature of GNU `getopt`, and I think it's supported by most BSD getopts. It's also recommended behavior by the SUS, see guideline 10: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_...

So it's not mandated, but it's the behavior of nearly all modern UNIX systems.

There are no comments on this comment yet.