[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] reporting of argument errors doesn't identify src, I
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] reporting of argument errors doesn't identify src, In-reply-to: Your message of Mon, 21 Apr 2003 15:26:11 -0400 <address@hidden> |
Date: |
Tue, 22 Apr 2003 14:28:48 +0300 |
> :mailer --mailer=smtp://smtpmail.certicom.com address@hidden
It is an error: --email-addr does not belong to the "mailer" option
group. It should have been:
:mailer --mailer=smtp://smtpmail.certicom.com
:address address@hidden
Sieve uses "mailer" group but does not use "address", that's why it
choked on --email-addr. Ideally the mu_argp stuff should check the
contents of each group declaration *before* adding it to the command
line, this would allow to catch such errors earlier.
> Also, perhaps
> the documentation for an argument should mention the group?
Good idea, but I'm afraid that would make help output too
verbose. It's better to mention the group once, in the header, e.g.:
$ mail.remote --help
...
Address options (group :address)
-D, --email-domain=DOMAIN Set domain for unqualified user names
(default is this host)
-E, --email-addr=EMAIL Set current user's email address (default
is address@hidden)
Regards,
Sergey
- [bug-mailutils] What are the current reqs for building from CVS?, Sam Roberts, 2003/04/16
- Re: [bug-mailutils] What are the current reqs for building from CVS?, Jeff Bailey, 2003/04/16
- Re: [bug-mailutils] What are the current reqs for building from CVS?, Jordi Mallach, 2003/04/16
- [bug-mailutils] reporting of argument errors doesn't identify src, or allow --help, Sam Roberts, 2003/04/21
- Re: [bug-mailutils] reporting of argument errors doesn't identify src, In-reply-to: Your message of Mon, 21 Apr 2003 15:26:11 -0400 <address@hidden>,
Sergey Poznyakoff <=
- Re: [bug-mailutils] reporting of argument errors doesn't identify src, In-reply-to: Your message of Mon, 21 Apr 2003 15:26:11 -0400 <address@hidden>, Sam Roberts, 2003/04/22
- Re: [bug-mailutils] reporting of argument errors doesn't identify src, In-reply-to: Your message of Tue, 22 Apr 2003 10:22:43 -0400 <address@hidden>, Sergey Poznyakoff, 2003/04/25