diff options
Diffstat (limited to 'src/other_tools/just_mr/launch.cpp')
-rw-r--r-- | src/other_tools/just_mr/launch.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/launch.cpp b/src/other_tools/just_mr/launch.cpp index 99496306..f8f14659 100644 --- a/src/other_tools/just_mr/launch.cpp +++ b/src/other_tools/just_mr/launch.cpp @@ -50,6 +50,7 @@ auto CallJust(std::optional<std::filesystem::path> const& config_file, bool use_launcher{false}; bool supports_defines{false}; bool supports_remote{false}; + bool supports_serve{false}; bool supports_dispatch{false}; bool supports_cacert{false}; bool supports_client_auth{false}; @@ -88,6 +89,7 @@ auto CallJust(std::optional<std::filesystem::path> const& config_file, use_launcher = kKnownJustSubcommands.at(*subcommand).launch; supports_defines = kKnownJustSubcommands.at(*subcommand).defines; supports_remote = kKnownJustSubcommands.at(*subcommand).remote; + supports_serve = kKnownJustSubcommands.at(*subcommand).serve; supports_dispatch = kKnownJustSubcommands.at(*subcommand).dispatch; supports_cacert = kKnownJustSubcommands.at(*subcommand).cacert; supports_client_auth = @@ -169,8 +171,8 @@ auto CallJust(std::optional<std::filesystem::path> const& config_file, cmd.emplace_back("--endpoint-configuration"); cmd.emplace_back(*just_cmd_args.endpoint_configuration); } - if (supports_remote and common_args.remote_serve_address) { - cmd.emplace_back("--remote-serve-address"); + if (supports_serve and common_args.remote_serve_address) { + cmd.emplace_back("-R"); cmd.emplace_back(*common_args.remote_serve_address); } // forward mutual TLS arguments |