Ethereal-dev: Re: [ethereal-dev] What should Ethereal do for command-line option errors?

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

From: Stefan `Sec` Zehl <sec@xxxxxx>
Date: Tue, 7 Dec 1999 11:41:43 +0100
On Mon, Dec 06, 1999 at 11:18:59PM -0800, Guy Harris wrote:
> If it's run with a bad command-line option, e.g. an invalid one ("-z"),
> or one that's supposed to have an argument ("-m") but isn't given one,
> or one that's supported only if Ethereal is built with "libpcap" ("-k"),
> should it pop up a window, or should it just print a message and exit?

[...]

Do it just like ssh-add does. Use stdout if there is one and it's not
/dev/null. Otherwise use X :-)

CU,
    Sec
-- 
At least in Norway, I know people have been put in jail for following
the prime directive instead of helping. -- <art@xxxxxxxxxxxxxxxxxxxxx>