summaryrefslogtreecommitdiff
path: root/mh/mhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/mhl.c')
-rw-r--r--mh/mhl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mh/mhl.c b/mh/mhl.c
index 35f91f7d4..bd9fe90ed 100644
--- a/mh/mhl.c
+++ b/mh/mhl.c
@@ -46,6 +46,8 @@ static struct argp_option options[] = {
N_("Use given PROG instead of the default") },
{"nomoreproc", ARG_NOMOREPROC, NULL, 0,
N_("Disable use of moreproc program") },
+ {"license", ARG_LICENSE, 0, 0,
+ N_("Display software license"), -1},
{ NULL }
};
@@ -129,6 +131,10 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
nomoreproc = 1;
break;
+ case ARG_LICENSE:
+ mh_license (argp_program_version);
+ break;
+
default:
return 1;
}

Return to:

Send suggestions and report system problems to the System administrator.