diff options
author | 2002-12-05 21:45:01 +0000 | |
---|---|---|
committer | 2002-12-05 21:45:01 +0000 | |
commit | a4cca5d96e23aa5fcbb8e59efd04c60fefac436a (patch) | |
tree | cf6b2e1b689c5ca1b067f30e10092accf45a62d1 /sys/kern/kern_malloc_debug.c | |
parent | simple regress for getopt_long() and getopt_long_only() (diff) | |
download | wireguard-openbsd-a4cca5d96e23aa5fcbb8e59efd04c60fefac436a.tar.xz wireguard-openbsd-a4cca5d96e23aa5fcbb8e59efd04c60fefac436a.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 'sys/kern/kern_malloc_debug.c')
0 files changed, 0 insertions, 0 deletions