summaryrefslogtreecommitdiff
path: root/mh/pick.c
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 /mh/pick.c
parentb49ffcc453925dd43e25c2b75160efc09b9acf3b (diff)
downloadmailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.gz
mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.bz2
(main): Use mu_argp_init.
Diffstat (limited to 'mh/pick.c')
-rw-r--r--mh/pick.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mh/pick.c b/mh/pick.c
index 89b57ec1b..7403f0298 100644
--- a/mh/pick.c
+++ b/mh/pick.c
@@ -25,7 +25,7 @@
#define obstack_chunk_free free
#include <obstack.h>
-const char *argp_program_version = "pick (" PACKAGE_STRING ")";
+const char *program_version = "pick (" PACKAGE_STRING ")";
static char doc[] = N_("GNU MH pick\v"
"Options marked with `*' are not yet implemented.\n"
"Use -help to obtain the list of traditional MH options.");
@@ -347,6 +347,7 @@ main (int argc, char **argv)
flags = isatty (0) ? 0 : ARGP_NO_ERRS;
mu_init_nls ();
+ mu_argp_init (program_version, NULL);
mh_argp_parse (argc, argv, flags, options, mh_option,
args_doc, doc, opt_handler, NULL, &index);
if (pick_parse (lexlist))

Return to:

Send suggestions and report system problems to the System administrator.