diff --git a/src/option_parser.cpp b/src/option_parser.cpp index 896ddc7d..6cdd03b8 100644 --- a/src/option_parser.cpp +++ b/src/option_parser.cpp @@ -450,7 +450,9 @@ namespace options ::_print_warnings(); ::_cleanup_options(); - _set_option("passthrough-max-stack-depth=1",args_); + _set_option(std::format("passthrough-max-stack-depth={}", + cfg.passthrough_max_stack_depth), + args_); cfg.finish_initializing(); }