summaryrefslogtreecommitdiff
path: root/mh/anno.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/anno.c')
-rw-r--r--mh/anno.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mh/anno.c b/mh/anno.c
index 13e77a200..d521a3026 100644
--- a/mh/anno.c
+++ b/mh/anno.c
@@ -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;
}

Return to:

Send suggestions and report system problems to the System administrator.