Ethereal-dev: Re: [Ethereal-dev] ethereal --xxx xxx

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Tue, 7 Feb 2006 04:23:42 +0100
On 2/7/06, Ulf Lamping <ulf.lamping@xxxxxx> wrote:
> LEGO wrote:
> > Hi List,
> >
> > How feasable would be to:
> >
> > * add "--xxx yyy" options to the command line options of ethereal.
> > * add an xxx key to a hash containing a GPtrArray with every instance
> > of "--xxx yyy" appeared in the command line?
> >
> >
> Hmm, getopt_long might not be available on *all* supported machines or a
> lot of work to include them on all.

Actually it's just adding a check for it in the autofoo stuff (and now
I know how to do it myself!) then take the code from gnu getopt and
add it to a file.c by itself that would get compiled only if
long_getopt doesn't exists in the target machine. Much like we do for
strptime.

On windows I don't know if we already have it... It would take me just
one buildbot run to find out :)

> Why not use mechanisms we already have, something like the -a key:value
> command line settings?

However I like this more... a little bit confusing to use the same -a
for capture stop triggers and the lua script but as we said we shoud
use kanji instead of our very limited latin alphabet for ethereal
command line options :).

Luis

--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan