diff options
Diffstat (limited to 'mh/whatnow.c')
-rw-r--r-- | mh/whatnow.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mh/whatnow.c b/mh/whatnow.c index e669d0ea7..7766761b3 100644 --- a/mh/whatnow.c +++ b/mh/whatnow.c @@ -34,6 +34,10 @@ static struct argp_option options[] = { {"editor", ARG_EDITOR, N_("PROG"), 0, N_("Set the editor program to use")}, {"noedit", ARG_NOEDIT, 0, 0, N_("Suppress the initial edit")}, {"prompt", ARG_PROMPT, N_("STRING"), 0, N_("Set the prompt")}, + + {"license", ARG_LICENSE, 0, 0, + N_("Display software license"), -1}, + { NULL } }; @@ -80,6 +84,10 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) wh_env.prompt = arg; break; + case ARG_LICENSE: + mh_license (argp_program_version); + break; + default: return 1; } |