summaryrefslogtreecommitdiff
path: root/mh/whatnow.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/whatnow.c')
-rw-r--r--mh/whatnow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mh/whatnow.c b/mh/whatnow.c
index 9dd9ccb69..84f645a3a 100644
--- a/mh/whatnow.c
+++ b/mh/whatnow.c
@@ -52,7 +52,7 @@ struct mh_whatnow_env wh_env = { 0 };
static int initial_edit = 1;
static int
-opt_handler (int key, char *arg, void *unused)
+opt_handler (int key, char *arg, void *unused, struct argp_state *state)
{
switch (key)
{
@@ -93,7 +93,7 @@ main (int argc, char **argv)
mu_init_nls ();
- mh_argp_parse (argc, argv, options, mh_option, args_doc, doc,
+ mh_argp_parse (argc, argv, 0, options, mh_option, args_doc, doc,
opt_handler, NULL, &index);
wh_env.msg = getenv ("mhaltmsg");

Return to:

Send suggestions and report system problems to the System administrator.