From d8b5d3d34a3fdb730d9daeabfa11e83bb7413463 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 14 Jun 2022 21:11:11 +0200 Subject: [PATCH] clang-format: disable for option table --- src/suricata.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/suricata.c b/src/suricata.c index e005c736d0..33168e1418 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -1233,7 +1233,7 @@ static TmEcode ParseCommandLine(int argc, char** argv, SCInstance *suri) g_ut_modules = 0; g_ut_covered = 0; #endif - + // clang-format off struct option long_opts[] = { {"dump-config", 0, &dump_config, 1}, {"dump-features", 0, &dump_features, 1}, @@ -1295,6 +1295,7 @@ static TmEcode ParseCommandLine(int argc, char** argv, SCInstance *suri) #endif {NULL, 0, NULL, 0} }; + // clang-format on /* getopt_long stores the option index here. */ int option_index = 0; -- 2.47.2