Skip to content

Commit 1cbc24a

Browse files
committed
restoring src/command_line_parser.cc after rebase on main
1 parent 9418150 commit 1cbc24a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/command_line_parser.cc

+8-7
Original file line numberDiff line numberDiff line change
@@ -434,14 +434,16 @@ TritonParser::SetupOptions()
434434
#endif // TRITON_ENABLE_HTTP
435435

436436
#if defined(TRITON_ENABLE_GRPC)
437-
grpc_options_.push_back({OPTION_ALLOW_GRPC, "allow-grpc", Option::ArgBool,
438-
"Allow the server to listen for GRPC requests."});
437+
grpc_options_.push_back(
438+
{OPTION_ALLOW_GRPC, "allow-grpc", Option::ArgBool,
439+
"Allow the server to listen for GRPC requests."});
439440
grpc_options_.push_back(
440441
{OPTION_GRPC_ADDRESS, "grpc-address", Option::ArgStr,
441442
"The address for the grpc server to binds to. Default is 0.0.0.0"});
442-
grpc_options_.push_back({OPTION_GRPC_PORT, "grpc-port", Option::ArgInt,
443-
"The port for the server to listen on for GRPC "
444-
"requests. Default is 8001."});
443+
grpc_options_.push_back(
444+
{OPTION_GRPC_PORT, "grpc-port", Option::ArgInt,
445+
"The port for the server to listen on for GRPC "
446+
"requests. Default is 8001."});
445447
grpc_options_.push_back(
446448
{OPTION_REUSE_GRPC_PORT, "reuse-grpc-port", Option::ArgBool,
447449
"Allow multiple servers to listen on the same GRPC port when every "
@@ -2052,8 +2054,7 @@ TritonParser::SetTritonTraceArgs(
20522054
bool trace_log_frequency_present)
20532055
{
20542056
for (const auto& mode_setting :
2055-
lparams
2056-
.trace_config_map_[std::to_string(TRACE_MODE_TRITON)]) {
2057+
lparams.trace_config_map_[std::to_string(TRACE_MODE_TRITON)]) {
20572058
if (mode_setting.first == "file") {
20582059
if (trace_filepath_present) {
20592060
std::cerr << "Warning: Overriding deprecated '--trace-file' "

0 commit comments

Comments
 (0)