summaryrefslogtreecommitdiff
path: root/mh/repl.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/repl.c')
-rw-r--r--mh/repl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mh/repl.c b/mh/repl.c
index 088a1ffaf..17801a92d 100644
--- a/mh/repl.c
+++ b/mh/repl.c
@@ -61,6 +61,8 @@ static struct argp_option options[] = {
{"nowhatnowproc", ARG_NOWHATNOWPROC, NULL, 0,
N_("* Ignore whatnowproc variable. Use standard `whatnow' shell instead.")},
{"use", ARG_USE, N_("BOOL"), OPTION_ARG_OPTIONAL, N_("Use draft file preserved after the last session") },
+ {"license", ARG_LICENSE, 0, 0,
+ N_("Display software license"), -1},
{ 0 }
};
@@ -200,6 +202,10 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
argp_error (state, _("option is not yet implemented"));
exit (1);
+ case ARG_LICENSE:
+ mh_license (argp_program_version);
+ break;
+
default:
return 1;
}

Return to:

Send suggestions and report system problems to the System administrator.