diff options
Diffstat (limited to 'frm/frm.c')
-rw-r--r-- | frm/frm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -57,13 +57,13 @@ static int dbug; #define IS_NEW 0x100 static int select_attribute; 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[] = { {"debug", 'd', NULL, 0, N_("Enable debugging output"), 0}, {"field", 'f', N_("NAME"), 0, N_("Header field to display"), 0}, {"to", 'l', NULL, 0, N_("Include the To: information"), 0}, @@ -303,12 +303,13 @@ main(int argc, char **argv) int c; int status = 0; /* 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 */ argc -= c; argv += c; |