From: Victor Julien Date: Tue, 14 Jun 2022 19:11:11 +0000 (+0200) Subject: clang-format: disable for option table X-Git-Tag: suricata-6.0.6~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b5d3d34a3fdb730d9daeabfa11e83bb7413463;p=thirdparty%2Fsuricata.git clang-format: disable for option table --- 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;