Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improve markup quality in the cases found by the new "--" style message | 2018-03-16 | 1 | -3/+5 | |
| | |||||
* | Change all tame callers to namechange to pledge(2). | 2015-10-09 | 1 | -3/+3 | |
| | |||||
* | tame "stdio". It would take some doing for this to contain a bug, but | 2015-10-07 | 1 | -1/+5 | |
| | | | | just in case -- now it can barely do anything when it goes wrong. | ||||
* | A SYNOPSIS should not attempt to provide examples, so trim it; | 2014-01-19 | 1 | -15/+16 | |
| | | | | | | | | a better example already exists in the EXAMPLES section. The DESCRIPTION should not provide examples either, in particular not bad ones, so move that to CAVEATS. Also fix various markup. OK jmc. | ||||
* | fix a bug, hidden by the break statement in the special option case, | 2012-11-14 | 1 | -3/+3 | |
| | | | | | | | | in the example code. millert@ suggested using -ne instead of -gt since $# can't be negative. ok millert@ | ||||
* | knock out some "-*- nroff -*-" lines; | 2010-10-28 | 1 | -2/+2 | |
| | |||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -5/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | document that no leading whitespace is permitted between the option and | 2009-04-12 | 1 | -2/+5 | |
| | | | | | | argument if the argument is deemed to be optional ('::'). feedback and ok jmc@ and millert@ | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | after some discussion with otto, remove "errcode=$?;" from getopt's | 2007-01-26 | 1 | -2/+2 | |
| | | | | | | synopsis: it is really not central to its usage; ok otto millert | ||||
* | The example is not correct and uses non-idiomatic scripting. So fix it. | 2007-01-24 | 1 | -5/+5 | |
| | | | | ok espie@ | ||||
* | this file is public domain; | 2006-06-07 | 1 | -2/+7 | |
| | | | | | problem reported by will h. backman; sorted with the author's permission - thanks henry spencer. | ||||
* | document why we avoid: set -- `getopt optstring $*` | 2006-01-14 | 1 | -1/+10 | |
| | |||||
* | update the example and synopsis so that we are checking the | 2006-01-14 | 1 | -4/+5 | |
| | | | | | | | exit value of getopt itself, not `set'; example merged from current freebsd page; problem reported by nordin; ok millert | ||||
* | - kill some of the mad escaping; | 2006-01-13 | 1 | -16/+15 | |
| | |||||
* | add missing includes | 2003-07-10 | 1 | -2/+3 | |
| | | | | ok deraadt@ tedu@ | ||||
* | mostly ansi cleanup; pval ok | 2003-06-10 | 1 | -5/+3 | |
| | |||||
* | copyrights added; | 2003-02-17 | 1 | -1/+5 | |
| | | | | | | | | des_crypt(3): Eric Young aac(4): Michael Smith, BSDi, Niklas Hallqvist; ok niklas@ bktr(4): Amancio Hasty, Roger Hardiman getopt(1): Henry Spencer (public domain) pcnfds(8): Sun | ||||
* | first pass at a -Wall cleanup | 2001-07-12 | 1 | -2/+4 | |
| | |||||
* | Mostly punctuation fixes. | 2000-04-15 | 1 | -3/+2 | |
| | |||||
* | Various cleanup. | 2000-03-07 | 1 | -9/+9 | |
| | |||||
* | In Unix land we prefer "whitespace" to "white space" or "white-space". At | 2000-03-04 | 1 | -3/+3 | |
| | | | | least, this is the impression I get from looking at a lot of Perl docs. | ||||
* | correct use of .Nm; some other formatting nits | 1999-07-04 | 1 | -6/+6 | |
| | |||||
* | usr.bin/ man page fixes, f-m. | 1998-09-26 | 1 | -4/+4 | |
| | |||||
* | getopt(3) returns -1 when out of args, not EOF, whee! | 1997-01-15 | 1 | -3/+3 | |
| | |||||
* | rcsid | 1996-06-26 | 3 | -3/+5 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 3 | -0/+143 | |