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

Return to:

Send suggestions and report system problems to the System administrator.