summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't print an error message if the bad option is '?'. This has beenimp2000-09-041-1/+1
| | | | | | | | | in my tree for a long time. bde reviewed this once upon a time and said it was OK, iirc. This also obviates the need to put ? in the optstring argument to preclude the extra warning message which some people think confuses users. When I made my getopt cleanups of a long time ago, this was the compromise reached. I just neglected to commit it until now.
* Fix handling of trailing :'s to match what other OSes do (spit outjkh1999-12-171-2/+8
| | | | | | a diagnostis). Submitted by: Guy Harris <gharris@flashcom.net>
* Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchpeter1997-03-111-5/+5
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+117
OpenPOWER on IntegriCloud