c892a7a1 | 10-Jan-2005 |
Joerg Sonnenberger <joerg@dragonflybsd.org> |
Fix two small bugs in getopt_long_only handling: - a short option followed by a long option is parsed as that (inspired by OpenBSD) - the place variable has to be reset after long option parsing fa
Fix two small bugs in getopt_long_only handling: - a short option followed by a long option is parsed as that (inspired by OpenBSD) - the place variable has to be reset after long option parsing failed
show more ...
|
9e4b0859 | 10-Jan-2005 |
Joerg Sonnenberger <joerg@dragonflybsd.org> |
Move the handling of '--' as argument into getopt_internal. Add a parameter to getopt_internal and getopt_internal_short to activate support for long options. Disable the special 'W' handling for get
Move the handling of '--' as argument into getopt_internal. Add a parameter to getopt_internal and getopt_internal_short to activate support for long options. Disable the special 'W' handling for getopt(). Correctly handle long option like arguments ('--l') as arguments '-' and 'l'.
show more ...
|