History log of /freebsd-14.2/lib/libc/stdlib/getopt_long.3 (Results 1 – 20 of 20)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# b2c76c41 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


Revision tags: release/13.2.0
# d646513e 11-Feb-2023 Kyle Evans <[email protected]>

getopt_long(3): note an inconsistency with getopt(3) in BUGS

getopt_long(3) will not allow an `optind` setting of 0 to be bug-for-bug
compatible with the GNU implementation, as some software does re

getopt_long(3): note an inconsistency with getopt(3) in BUGS

getopt_long(3) will not allow an `optind` setting of 0 to be bug-for-bug
compatible with the GNU implementation, as some software does rely on
it. Document it as a BUG, since it affects previous declarations of
compatibility with getopt(3).

Reviewed by: pauamma (markup)
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D37867

show more ...


Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0
# d50ff7de 19-May-2020 Benedict Reuschling <[email protected]>

Fix a typo: argments -> arguments

PR: 243294
Submitted by: Igor Ostapenko
MFC after: 5 days


Revision tags: release/12.1.0, release/11.3.0, release/12.0.0
# 3b890189 12-Aug-2018 Kyle Evans <[email protected]>

getopt_long(3): Document behavior of leading characters in optstring

Leading '+', '-', and ':' in optstring have special meaning. We briefly
mention that the first two have special meaning in that w

getopt_long(3): Document behavior of leading characters in optstring

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

show more ...


Revision tags: release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0
# 0603b75a 13-Dec-2013 Eitan Adler <[email protected]>

getopt_long.3: wording quibbles

- Make wording more clear: "is expect" vs "is expected" [1]
- Remove extraneous trailing period..

Reported by: dim [1]


Revision tags: release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0
# bd45f567 26-Dec-2011 Glen Barber <[email protected]>

Add missing opening and closing brackets in getopt_long.3 and getsubopt.3
to make the examples reflect reality more closely.

MFC after: 1 week
X-MFC-After: 9.0-RELEASE


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0
# c2025a76 16-Aug-2010 Joel Dahl <[email protected]>

Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages. Minor corrections by me.

Submitted by: Nobuyuki Koganemaru <[email protected]>


Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0
# 24a0682c 20-Jan-2005 Ruslan Ermilov <[email protected]>

Sort sections.


# 629a7369 14-Jan-2005 Ruslan Ermilov <[email protected]>

Markup fixes.


Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0
# 64f37911 06-Mar-2004 Andrey A. Chernov <[email protected]>

Fix typo, was 'W'; instead of `W;'


# 3700175b 06-Mar-2004 Andrey A. Chernov <[email protected]>

Make GNU-compatible following case:
single '-' in command line and '-' (non-first) in options


# 88485399 03-Mar-2004 Andrey A. Chernov <[email protected]>

Make return code in noarg case GNU-compatible


# f2fd86b7 01-Mar-2004 Andrey A. Chernov <[email protected]>

Improve GNU compatibility in several places, use internal GNU_COMPATIBLE
define for it.
Don't catch POSIXLY_CORRECT env. into static variable, it can be changed
on the fly by program.
Use P1003.2 sta

Improve GNU compatibility in several places, use internal GNU_COMPATIBLE
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[]

show more ...


# 2298a6e7 01-Mar-2004 Andrey A. Chernov <[email protected]>

Comment out things related to getopt() replacement we not use


# 8a4dd785 01-Mar-2004 Andrey A. Chernov <[email protected]>

Change "-"-started options when POSIX_CORRECTLY is set handling
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.


# 829a229d 24-Feb-2004 Andrey A. Chernov <[email protected]>

Add getopt_long_only() from OpenBSD and other OpenBSD cleanups

PR: 63173
Submitted by: Marius Strobl <[email protected]>


Revision tags: release/5.2.1_cvs, release/5.2.1
# 75207c7a 23-Feb-2004 Andrey A. Chernov <[email protected]>

Add optarg, optind, opterr, optopt, optreset to SYNOPSYS


Revision tags: release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0
# 1fae73b1 18-Dec-2002 Ruslan Ermilov <[email protected]>

mdoc(7) police: "The .Fn function".


# 187f61df 09-Dec-2002 Ruslan Ermilov <[email protected]>

mdoc(7) police: overhaul.

Approved by: re


Revision tags: release/4.7.0_cvs
# a35a7e76 29-Sep-2002 Eric Melville <[email protected]>

Add getopt_long(3).

Obtained from: NetBSD
Sponsored by: Apple