Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Follow style(9) and drop lint /* NOTREACHED */ annotations from | tb | 2016-01-04 | 1 | -3/+2 |
| | | | | | | | | the examples. Diff from Juuso Lapinlampi < wub () partyvan ! eu >, thanks! ok schwarze@ | ||||
* | Don't fake a bulleted list by prefixing items with 'o'. | bentley | 2015-11-24 | 1 | -8/+8 |
| | | | | ok jmc@ | ||||
* | obvious .Pa fixes; found with mandocdb(8) | schwarze | 2014-01-21 | 1 | -3/+3 |
| | |||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | tedu | 2013-06-05 | 1 | -3/+3 |
| | |||||
* | Fix PR 6267: recheck POSIXLY_CORRECT each time getopt_long() starts a new | guenther | 2011-03-05 | 1 | -11/+2 |
| | | | | | | | | argv and don't suppress the handling of leading '-' in optstring when POSIXLY_CORRECT is set. Based on patch from Eric Blake. ok and manpage update from millert@, manpage ok jmc@ | ||||
* | document that no leading whitespace is permitted between the option and | okan | 2009-04-12 | 1 | -3/+5 |
| | | | | | | argument if the argument is deemed to be optional ('::'). feedback and ok jmc@ and millert@ | ||||
* | convert to new .Dd format; | jmc | 2007-05-31 | 1 | -2/+2 |
| | |||||
* | Support for optional args separated with whitespace was removed | millert | 2007-04-10 | 1 | -17/+1 |
| | | | | some time ago--it caused too many problems. | ||||
* | Removes extraneous variables from getopt(3). Inspired by one of | ray | 2006-03-15 | 1 | -3/+1 |
| | | | | | | David Hill's diffs. ok otto | ||||
* | tidy up examples | jaredy | 2005-10-11 | 1 | -7/+4 |
| | | | | | | | | - use err() for error handling - add lint hints - spacing nits and missing braces ok otto | ||||
* | kill errant blank line; | jmc | 2005-07-26 | 1 | -2/+1 |
| | |||||
* | - typos, punctuation, layout, macro tweaks | jaredy | 2005-07-26 | 1 | -2/+2 |
| | | | | | | - break long lines ok jmc | ||||
* | provide a description of the EXAMPLE; ok jmc | jaredy | 2005-07-26 | 1 | -2/+11 |
| | |||||
* | whitespace; | jmc | 2005-07-01 | 1 | -4/+4 |
| | |||||
* | More robust example of numeric argument handling. The old example | millert | 2005-07-01 | 1 | -11/+23 |
| | | | | | code would dereference NULL for mixed letter and number args. OK deraadt@ | ||||
* | Document that historic BSD getopt(3) set optopt for each char, not just | millert | 2005-03-26 | 1 | -1/+14 |
| | | | | on error. | ||||
* | tweaks from michael knudsen; | jmc | 2004-12-22 | 1 | -6/+7 |
| | |||||
* | Document why not to set optind = 0. Inspired by and OK jfb@ | millert | 2004-12-07 | 1 | -2/+20 |
| | |||||
* | Document the optional argument support and as well as where we differ from | millert | 2003-09-22 | 1 | -32/+83 |
| | | | | POSIX and/or GNU. deraadt@ and jmc@ OK | ||||
* | typos from wiz@netbsd (including one from a PR from Quentin Garnier); | jmc | 2003-09-18 | 1 | -10/+14 |
| | | | | | | slight sync with NetBSD page; ok millert@ | ||||
* | escape punctuation; | jmc | 2003-09-02 | 1 | -4/+4 |
| | | | | ok deraadt@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | millert | 2003-06-02 | 1 | -6/+2 |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | Remove some lies | millert | 2003-06-02 | 1 | -7/+7 |
| | |||||
* | - section reorder | jmc | 2003-06-01 | 1 | -5/+5 |
| | | | | | - merge COMPATIBILITY - kill whitespace at EOL | ||||
* | typos; | jmc | 2003-05-10 | 1 | -2/+2 |
| | |||||
* | make the second example valid; ok millert@ | jsyn | 2003-04-10 | 1 | -3/+4 |
| | |||||
* | In BUGS section, append a warning to not use '-' as the first character | millert | 2002-12-08 | 1 | -3/+13 |
| | | | | of optstring to avoid a semantic conflict with GNU getopt. | ||||
* | Add "RETURN VALUES" sections | millert | 2002-12-04 | 1 | -1/+24 |
| | |||||
* | .Xr getopt_long | millert | 2002-12-04 | 1 | -1/+2 |
| | |||||
* | Suggest better types in examples; from NetBSD | miod | 2002-08-19 | 1 | -2/+2 |
| | |||||
* | deraadt@ objects to the caveat remark, so remove it. | miod | 2002-02-23 | 1 | -11/+1 |
| | |||||
* | Add a caveat section pointing out that people affecting the return value | miod | 2002-02-23 | 1 | -5/+13 |
| | | | | | | | | of getopt() to char variables instead of int lose on arches where char is unsigned by default. Clean the example by not pasting parts of <unistd.h> into it, and by not using atoi(3). | ||||
* | .Sh EXAMPLE -> .Sh EXAMPLES. Move this section before SEE ALSO where it | aaron | 2000-12-15 | 1 | -28/+28 |
| | | | | belongs. Closes PR/1554 from bk@rt.fm. | ||||
* | Flesh out stdlib function man pages. | aaron | 2000-04-20 | 1 | -20/+13 |
| | |||||
* | In Unix land we prefer "whitespace" to "white space" or "white-space". At | aaron | 2000-03-04 | 1 | -2/+2 |
| | | | | least, this is the impression I get from looking at a lot of Perl docs. | ||||
* | repair | deraadt | 2000-01-25 | 1 | -2/+2 |
| | |||||
* | typo | espie | 1999-09-07 | 1 | -2/+2 |
| | |||||
* | first round of repairs on stdlib | aaron | 1999-06-29 | 1 | -10/+13 |
| | |||||
* | getopt(3) does not return -1 when encountering unrecognized options | aaron | 1999-05-27 | 1 | -3/+2 |
| | |||||
* | remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common | aaron | 1999-05-23 | 1 | -2/+2 |
| | | | | is used instead; kwesterback@home.com | ||||
* | indent nice | deraadt | 1998-05-05 | 1 | -2/+2 |
| | |||||
* | indent; dima | deraadt | 1998-04-25 | 1 | -2/+3 |
| | |||||
* | incorrect description; bgrayson@ece.utexas.edu | deraadt | 1997-06-02 | 1 | -6/+6 |
| | |||||
* | an -> a; soil@quick.net | deraadt | 1997-04-03 | 1 | -2/+2 |
| | |||||
* | Fix RCS ids | tholo | 1996-08-19 | 1 | -1/+1 |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | initial import of NetBSD tree | deraadt | 1995-10-18 | 1 | -0/+260 |