Wireshark-dev: Re: [Wireshark-dev] long options again
From: Brandon Carpenter <hashstat@xxxxxxxx>
Date: Tue, 16 Jul 2013 08:38:09 -0700
I have to say that I dislike getopt() and getopt_long() for option
parsing because of the disconnect between the options and the help.
It creates multiple places that require updating when options change
and quite often, one of those places is forgotten. So on Linux I
prefer a parser like argp (in libc). And it looks like goption,
though perhaps a bit more complex, is similar. While it may be a
bit of work up front to change to goption, it will likely make
option additions/changes easier in the future. My two cents... for what it's worth. ;-) Brandon On 07/16/2013 02:22 AM, Pascal Quantin
wrote:
|
- Follow-Ups:
- Re: [Wireshark-dev] long options again
- From: Gisle Vanem
- Re: [Wireshark-dev] long options again
- References:
- [Wireshark-dev] long options again
- From: Martin Kaiser
- Re: [Wireshark-dev] long options again
- From: Pascal Quantin
- [Wireshark-dev] long options again
- Prev by Date: Re: [Wireshark-dev] Wrong Interpretation of GTS starting slot - Wireshark 1.10.0
- Next by Date: Re: [Wireshark-dev] long options again
- Previous by thread: Re: [Wireshark-dev] long options again
- Next by thread: Re: [Wireshark-dev] long options again
- Index(es):