diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-29 17:09:54 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-29 17:09:54 +0000 |
commit | 587fbc3aa0015132504f5604fdbe798895d2afcf (patch) | |
tree | 6168b7dce051fd34b4c31398f0770dcc5ed45114 /mh/pick.c | |
parent | b49ffcc453925dd43e25c2b75160efc09b9acf3b (diff) | |
download | mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.gz mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.bz2 |
(main): Use mu_argp_init.
Diffstat (limited to 'mh/pick.c')
-rw-r--r-- | mh/pick.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)) |