summaryrefslogtreecommitdiff
path: root/mh/pick.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/pick.c')
-rw-r--r--mh/pick.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mh/pick.c b/mh/pick.c
index 78a29eb2d..c1a8b6591 100644
--- a/mh/pick.c
+++ b/mh/pick.c
@@ -89,6 +89,8 @@ static struct argp_option options[] = {
{"zero", ARG_ZERO, N_("BOOL"), OPTION_ARG_OPTIONAL,
N_("Empty the sequence before adding messages"), 4},
{"nozero", ARG_NOZERO, NULL, OPTION_HIDDEN, "", 4 },
+ {"license", ARG_LICENSE, 0, 0,
+ N_("Display software license"), -1},
{NULL},
};
@@ -282,6 +284,10 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
pick_add_token (&lexlist, T_STRING, p);
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.