summaryrefslogtreecommitdiff
path: root/from
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 /from
parentb49ffcc453925dd43e25c2b75160efc09b9acf3b (diff)
downloadmailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.gz
mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.bz2
(main): Use mu_argp_init.
Diffstat (limited to 'from')
-rw-r--r--from/from.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/from/from.c b/from/from.c
index cc56590c3..379162bad 100644
--- a/from/from.c
+++ b/from/from.c
@@ -46,7 +46,7 @@
#include <mailutils/stream.h>
#include <mailutils/nls.h>
-const char *argp_program_version = "from (" PACKAGE_STRING ")";
+const char *program_version = "from (" PACKAGE_STRING ")";
static char doc[] = N_("GNU from -- display from and subject");
static struct argp_option options[] = {
@@ -103,6 +103,7 @@ main(int argc, char **argv)
{
int opt;
+ mu_argp_init (program_version, NULL);
mu_argp_parse (&argp, &argc, &argv, 0, capa, &opt, NULL);
mailbox_name = argv[opt];
}

Return to:

Send suggestions and report system problems to the System administrator.