bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] reporting of argument errors doesn't identify src, or a


From: Sam Roberts
Subject: [bug-mailutils] reporting of argument errors doesn't identify src, or allow --help
Date: Mon, 21 Apr 2003 15:26:11 -0400
User-agent: Mutt/1.5.0i

Trying to get sieve help:

~/s/mailutils/trunk $ sieve --help
sieve: unrecognized option `--email-addr'
Try `sieve --help' or `sieve --usage' for more information.

Hmm...

Caused by:

        ~/s/mailutils/trunk $ cat ~/.mailutils/mailutils 
        # ~/.mailutuils/mailutils

        :mailer --mailer=smtp://smtpmail.certicom.com address@hidden 

        sieve --debug --loop=300 ~/.mailutils/filter.sv

I worked it out, but perhaps --help should always work? Also, perhaps
the documentation for an argument should mention the group? Something
along the lines of:

Index: mu_argp.c
===================================================================
RCS file: /cvs/mailutils/mailbox/mu_argp.c,v
retrieving revision 1.25
diff -u -r1.25 mu_argp.c
--- mu_argp.c   29 Mar 2003 16:58:22 -0000      1.25
+++ mu_argp.c   21 Apr 2003 19:24:31 -0000
@@ -75,9 +75,9 @@
 /* Options used by programs that do address mapping. */
 static struct argp_option mu_address_argp_option[] = {
   {"email-addr", 'E', N_("EMAIL"), 0,
-   N_("Set current user's email address (default is address@hidden)"), 0},
+   N_("Set current user's email address (default is address@hidden, group is 
:address)"), 0},
   {"email-domain", 'D', N_("DOMAIN"), 0,
-   N_("Set domain for unqualified user names (default is this host)"), 0},
+   N_("Set domain for unqualified user names (default is this host, group is 
:address)"), 0},
   { NULL,      0, NULL, 0, NULL, 0 }
 };


Cheers,
Sam

-- 
Sam Roberts <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]