summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt_long.3
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo: argments -> argumentsBenedict Reuschling2020-05-191-1/+1
| | | | | | | | | PR: 243294 Submitted by: Igor Ostapenko MFC after: 5 days Notes: svn path=/head/; revision=361249
* getopt_long(3): Document behavior of leading characters in optstringKyle Evans2018-08-121-2/+43
| | | | | | | | | | | | | | | | | | Leading '+', '-', and ':' in optstring have special meaning. We briefly mention that the first two have special meaning in that we say POSIXLY_CORRECT turns them off, but we don't actually document their meaning. Add a paragraph to RETURN VALUES explaining how they control the treatment of non-option arguments. A leading ':' has no mention; add a note that it suppresses warnings about missing arguments. Reviewed by: jilles MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14142 Notes: svn path=/head/; revision=337666
* getopt_long.3: wording quibblesEitan Adler2013-12-131-2/+2
| | | | | | | | | | - Make wording more clear: "is expect" vs "is expected" [1] - Remove extraneous trailing period.. Reported by: dim [1] Notes: svn path=/head/; revision=259340
* Add missing opening and closing brackets in getopt_long.3 and getsubopt.3Glen Barber2011-12-261-2/+3
| | | | | | | | | | to make the examples reflect reality more closely. MFC after: 1 week X-MFC-After: 9.0-RELEASE Notes: svn path=/head/; revision=228885
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whileJoel Dahl2010-08-161-2/+2
| | | | | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> Notes: svn path=/head/; revision=211397
* Sort sections.Ruslan Ermilov2005-01-201-12/+12
| | | | Notes: svn path=/head/; revision=140505
* Markup fixes.Ruslan Ermilov2005-01-141-6/+6
| | | | Notes: svn path=/head/; revision=140262
* Fix typo, was 'W'; instead of `W;'Andrey A. Chernov2004-03-061-1/+1
| | | | Notes: svn path=/head/; revision=126693
* Make GNU-compatible following case:Andrey A. Chernov2004-03-061-23/+23
| | | | | | | single '-' in command line and '-' (non-first) in options Notes: svn path=/head/; revision=126692
* Make return code in noarg case GNU-compatibleAndrey A. Chernov2004-03-031-20/+20
| | | | Notes: svn path=/head/; revision=126535
* Improve GNU compatibility in several places, use internal GNU_COMPATIBLEAndrey A. Chernov2004-03-011-19/+19
| | | | | | | | | | define for it. Don't catch POSIXLY_CORRECT env. into static variable, it can be changed on the fly by program. Use P1003.2 standartized illoptchar[] Notes: svn path=/head/; revision=126452
* Comment out things related to getopt() replacement we not useAndrey A. Chernov2004-03-011-36/+36
| | | | Notes: svn path=/head/; revision=126440
* Change "-"-started options when POSIX_CORRECTLY is set handlingAndrey A. Chernov2004-03-011-17/+17
| | | | | | | | in favour of GNU instead of NetBSD, because configure's use us and expect GNU. Notes: svn path=/head/; revision=126439
* Add getopt_long_only() from OpenBSD and other OpenBSD cleanupsAndrey A. Chernov2004-02-241-62/+163
| | | | | | | | PR: 63173 Submitted by: Marius Strobl <marius@alchemy.franken.de> Notes: svn path=/head/; revision=126189
* Add optarg, optind, opterr, optopt, optreset to SYNOPSYSAndrey A. Chernov2004-02-231-0/+5
| | | | Notes: svn path=/head/; revision=126143
* mdoc(7) police: "The .Fn function".Ruslan Ermilov2002-12-181-0/+2
| | | | Notes: svn path=/head/; revision=108037
* mdoc(7) police: overhaul.Ruslan Ermilov2002-12-091-109/+232
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107705
* Add getopt_long(3).Eric Melville2002-09-291-0/+275
Obtained from: NetBSD Sponsored by: Apple Notes: svn path=/head/; revision=104128