diff options
Diffstat (limited to 'mh/mhl.c')
-rw-r--r-- | mh/mhl.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; } |