summaryrefslogtreecommitdiff
path: root/frm
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 /frm
parentb49ffcc453925dd43e25c2b75160efc09b9acf3b (diff)
downloadmailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.gz
mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.bz2
(main): Use mu_argp_init.
Diffstat (limited to 'frm')
-rw-r--r--frm/frm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/frm/frm.c b/frm/frm.c
index 9cc2c55b0..f009d989a 100644
--- a/frm/frm.c
+++ b/frm/frm.c
@@ -60,7 +60,7 @@ static int selected;
60 60
61static int action (observer_t, size_t); 61static int action (observer_t, size_t);
62 62
63const char *argp_program_version = "frm (" PACKAGE_STRING ")"; 63const char *program_version = "frm (" PACKAGE_STRING ")";
64static char doc[] = N_("GNU frm -- display From: lines"); 64static char doc[] = N_("GNU frm -- display From: lines");
65 65
66static struct argp_option options[] = { 66static struct argp_option options[] = {
@@ -306,6 +306,7 @@ main(int argc, char **argv)
306 /* Native Language Support */ 306 /* Native Language Support */
307 mu_init_nls (); 307 mu_init_nls ();
308 308
309 mu_argp_init (program_version, NULL);
309 mu_argp_parse (&argp, &argc, &argv, 0, frm_argp_capa, &c, NULL); 310 mu_argp_parse (&argp, &argc, &argv, 0, frm_argp_capa, &c, NULL);
310 311
311 /* have an argument */ 312 /* have an argument */

Return to:

Send suggestions and report system problems to the System administrator.