From 8fb0475b12f25d3ecf9c739d4eeb0b3de1ae1bf6 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Tue, 1 Oct 2024 16:24:17 +0000 Subject: [PATCH] fix(engine): disable comma separated vectors in cxxopts Signed-off-by: Luca Guerra --- userspace/falco/app/options.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/userspace/falco/app/options.cpp b/userspace/falco/app/options.cpp index d0422ff0a0e..7a1df394dc2 100644 --- a/userspace/falco/app/options.cpp +++ b/userspace/falco/app/options.cpp @@ -19,6 +19,9 @@ limitations under the License. #include "../configuration.h" #include "config_falco.h" +// disable cxxopts vector delimiter, meaning that +// -o test1,test2,test3 won't be treated like -o test1 -o test2 -o test3 +#define CXXOPTS_VECTOR_DELIMITER '\0' #include #include