diff options
author | millert <> | 2002-12-05 21:45:01 +0000 |
---|---|---|
committer | millert <> | 2002-12-05 21:45:01 +0000 |
commit | 134d36e1be4bd10ccec3bfba3d10a9b959891c36 (patch) | |
tree | 0c60ca3de6c8688b8a581062622f9820a1974199 /src/regress/lib/libc/getopt_long | |
parent | 33cc42bb698271fab5f0273c3b9acc3a530efb59 (diff) | |
download | openbsd-134d36e1be4bd10ccec3bfba3d10a9b959891c36.tar.gz openbsd-134d36e1be4bd10ccec3bfba3d10a9b959891c36.tar.bz2 openbsd-134d36e1be4bd10ccec3bfba3d10a9b959891c36.zip |
Reorganize this so that getopt_only_only() works correctly.
In order for getopt_only_only() to work we need to check for long
options before short ones. I have merged getopt_internal and
getopt_long_internal into a single function with the actual long
args parsing broken out into a separate function.
This also simplifies the flow of control.
Diffstat (limited to 'src/regress/lib/libc/getopt_long')
0 files changed, 0 insertions, 0 deletions