diff options
Diffstat (limited to 'mh/anno.c')
-rw-r--r-- | mh/anno.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -39,6 +39,8 @@ static struct argp_option options[] = { N_("Add this FIELD to the message header") }, {"text", ARG_TEXT, N_("STRING"), 0, N_("Field value for the component") }, + {"license", ARG_LICENSE, 0, 0, + N_("Display software license"), -1}, { NULL } }; @@ -88,6 +90,10 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) anno_text = arg; break; + case ARG_LICENSE: + mh_license (argp_program_version); + break; + default: return 1; } |