summaryrefslogtreecommitdiffabout
path: root/mail.remote
authorSergey Poznyakoff <gray@gnu.org.ua>2003-03-29 17:09:54 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2003-03-29 17:09:54 (GMT)
commit587fbc3aa0015132504f5604fdbe798895d2afcf (patch) (side-by-side diff)
tree6168b7dce051fd34b4c31398f0770dcc5ed45114 /mail.remote
parentb49ffcc453925dd43e25c2b75160efc09b9acf3b (diff)
downloadmailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.gz
mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.bz2
(main): Use mu_argp_init.
Diffstat (limited to 'mail.remote') (more/less context) (ignore whitespace changes)
-rw-r--r--mail.remote/mail.remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail.remote/mail.remote.c b/mail.remote/mail.remote.c
index aa04f47..a4cf83c 100644
--- a/mail.remote/mail.remote.c
+++ b/mail.remote/mail.remote.c
@@ -41,7 +41,7 @@
#include <mailutils/error.h>
#include <mailutils/nls.h>
-const char *argp_program_version = "mail.remote (" PACKAGE_STRING ")";
+const char *program_version = "mail.remote (" PACKAGE_STRING ")";
static char doc[] =
N_("GNU mail.remote -- pseudo-sendmail interface for mail delivery\n"
"\v"
@@ -143,6 +143,7 @@ main (int argc, char **argv)
list_append (bookie, smtp_record);
}
+ mu_argp_init (program_version, NULL);
mu_argp_parse (&argp, &argc, &argv, 0, capa, &optind, NULL);
if (optfrom)

Return to:

Send suggestions and report system problems to the System administrator.