On Mon, May 27, 2002 at 08:24:18AM -0500, Burton M. Strauss III wrote:
> Dennis:
> 
> Be very careful with optional arguments.  I've found that to use optarg, you
> MUST use the =,
> --set-admin-password=xxx.   If the argument is REQUIRED, then it parses it
> ok without.  Take a look at the comments re --use-syslog

Yes I already noticed that. I'm nearly done with the patch - just
needs a bit cleanup/docu.

We have then:

"-A": takes no argument and asks the user for the admin password
"--set-admin-password": takes an optional argument as password.
                        and does the same as "-A" when called
                        without argument.

// Dennis
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to