Wireshark-dev: Re: [Wireshark-dev] read/write capture comments from the command line
From: Anders Broman <a.broman@xxxxxxxxxxxx>
Date: Tue, 09 Apr 2013 06:37:21 +0200
Guy Harris skrev 2013-04-09 00:32:
On Apr 8, 2013, at 3:02 PM, Anders Broman <a.broman@xxxxxxxxxxxx> wrote:

I think we have getopt_long already http://anonsvn.wireshark.org/viewvc?view=revision&revision=41926
We do, so we have it available on both platforms that have it (most UN*Xes, these days) and platforms that don't (Windows, which has neither getopt() nor getopt_long(), and perhaps some current UN*Xes and older versions of other UN*Xes).

We're not using it, however; did you check that in for future use, and did you have any future use in mind?
I think it was added in conjunction with looking at https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2473 at the time I think there were discussion about using long options for various stuff. I just added it so we would have all options open as I didn't quite like the glib implementation for some reason I don't quite remember now.
Regards
Anders
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe