summaryrefslogtreecommitdiff
path: root/sieve
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-03-29 17:09:54 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-03-29 17:09:54 +0000
commit587fbc3aa0015132504f5604fdbe798895d2afcf (patch)
tree6168b7dce051fd34b4c31398f0770dcc5ed45114 /sieve
parentb49ffcc453925dd43e25c2b75160efc09b9acf3b (diff)
downloadmailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.gz
mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.bz2
(main): Use mu_argp_init.
Diffstat (limited to 'sieve')
-rw-r--r--sieve/sieve.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c
index 5a2bab9d8..957070f5c 100644
--- a/sieve/sieve.c
+++ b/sieve/sieve.c
@@ -45,7 +45,7 @@
void mutil_register_all_mbox_formats (void);
-const char *argp_program_version = "sieve (" PACKAGE_STRING ")";
+const char *program_version = "sieve (" PACKAGE_STRING ")";
static char doc[] =
N_("GNU sieve -- a mail filtering tool\n"
@@ -310,6 +310,7 @@ main (int argc, char *argv[])
/* Native Language Support */
mu_init_nls ();
+ mu_argp_init (program_version, NULL);
sieve_argp_init ();
rc = mu_argp_parse (&argp, &argc, &argv, ARGP_IN_ORDER, sieve_argp_capa,
0, &opts);

Return to:

Send suggestions and report system problems to the System administrator.