| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
the \: roff escape is an optional line break.
|
| |
|
|
|
|
|
|
|
|
| |
Document that getopt_long(3) can and will accept unique abbreviated long
option names. This feature has been present since getopt_long(3) was first
released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior.
ok millert
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- use err() for error handling
- add lint hints
- spacing nits and missing braces
ok otto
|
|
|
|
|
|
|
|
| |
- use `$' for command prompts
- clean up: use a bullet list instead of adding junk to denote list
items
ok jmc
|
|
|
|
|
|
|
|
| |
- Talk about zeroing the last element of the longopts array.
- Remove '?' from the switch and some KNF to the code.
- Change 0's to NULL where appropriate.
jmc@ ok.
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
it is not the fist character of optstring (since that would conflict
with GNU semantics).
Update the bit on "W;" within optstring when called as getopt (not
getopt_long) to current reality.
|
| |
|
| |
|
|
getopt_long_only(). At some point this should replace the BSD
getopt(3) but we are not there yet.
While I am here add protection from the multiple getopt() definitions
due to conflicting standards.
|