diff --git a/cpp/s2pexec/s2pexec_core.cpp b/cpp/s2pexec/s2pexec_core.cpp index 96bef8c5..f32b5144 100644 --- a/cpp/s2pexec/s2pexec_core.cpp +++ b/cpp/s2pexec/s2pexec_core.cpp @@ -132,7 +132,7 @@ bool S2pExec::ParseArguments(span args) optind = 1; int opt; - while ((opt = getopt_long(static_cast(args.size()), args.data(), "b:B:c:d:f:F:h:i:L:t:T:Hnrvx", + while ((opt = getopt_long(static_cast(args.size()), args.data(), "b:B:c:d:f:F:h:i:o:L:t:T:Hnrvx", options.data(), nullptr)) != -1) { switch (opt) { case 'b':