From cb320f8c2f5266d8b9d4c6b97d4c480081caa135 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Tue, 22 Oct 2019 21:58:54 +0100 Subject: main: add missing `OPT_NUMERIC_PROTO` long option. The `options` array is missing an entry for `OPT_NUMERIC_PROTO`. Add a new option, `--numeric-protocol`, consistent with the documentation. Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.c b/src/main.c index 952d5432..6035bcd8 100644 --- a/src/main.c +++ b/src/main.c @@ -116,6 +116,10 @@ static const struct option options[] = { .name = "numeric-priority", .val = OPT_NUMERIC_PRIO, }, + { + .name = "numeric-protocol", + .val = OPT_NUMERIC_PROTO, + }, { .name = "numeric-time", .val = OPT_NUMERIC_TIME, -- cgit v1.2.3