Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] read/write capture comments from the command line

From: Anders Broman <a.broman@xxxxxxxxxxxx>
Date: Tue, 09 Apr 2013 00:02:45 +0200
Dirk Jagdmann skrev 2013-04-08 23:29:
Sadly, -j is already taken for Wireshark, so you couldn't run Wireshark from the command line with "-j", unless we go with either getopt_long() (pulling in a version from GNU libc for platforms that don't have it in the system library) or with g_option:

I suggest using the glib functions. Otherwise we would just add more code to Wireshark and related tools for no real benefit.

I think we have getopt_long already http://anonsvn.wireshark.org/viewvc?view=revision&revision=41926