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

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of [EMAIL PROTECTED]
Sent: Monday, May 27, 2002 6:47 AM
To: [EMAIL PROTECTED]
Subject: [Ntop-dev] New ntop commit (author dennis)


Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv13790

Modified Files:
        main.c
Log Message:
* fix "--set-admin-password" option. We currently require no argument.

  Note: If no one objects I'll prepare a patch that changes that to optional
  argument. So that we can set the admin password via the command line:

  ntop --set-admin-password <geheim>



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

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

Reply via email to