summaryrefslogtreecommitdiff
path: root/src/cli.c
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2021-12-31 18:13:58 +0100
committerDaiki Ueno <ueno@gnu.org>2022-01-14 12:49:03 +0100
commit0da805e6d3b2b148f9689b3229ddbbf3f4cedb88 (patch)
treeb6d047b66eab930e9e14165cf3459ba236918050 /src/cli.c
parent39cbedbf19e8a34dce3442c1749109e01251e467 (diff)
downloadgnutls-0da805e6d3b2b148f9689b3229ddbbf3f4cedb88.tar.gz
src: generate option handling code from JSON
This replaces AutoGen based command-line parser with a Python script (gen-getopt.py), which takes JSON description as the input. The included JSON files were converted one-off using the parse-autogen program: https://gitlab.com/dueno/parse-autogen. Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.c b/src/cli.c
index 2384a0cab3..09f7efc2c3 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -71,7 +71,7 @@
#include <common.h>
#include <socket.h>
-#include <cli-args.h>
+#include "gnutls-cli-options.h"
#include <ocsptool-common.h>
#define MAX_BUF 4096