diff --git a/agent/src/main.rs b/agent/src/main.rs index 3b9eead..8a9d002 100644 --- a/agent/src/main.rs +++ b/agent/src/main.rs @@ -7,11 +7,20 @@ mod patagia_api; #[derive(Parser, Debug)] #[command(version, about, long_about = None)] struct Cli { - #[arg(long = "telemetry-otlp-endpoint", default_value = "http://localhost:4317", value_name = "OTEL_EXPORTER_OTLP_ENDPOINT")] + #[arg( + long = "telemetry-otlp-endpoint", + default_value = "http://localhost:4317", + value_name = "OTEL_EXPORTER_OTLP_ENDPOINT" + )] otlp_endpoint: Option, - #[arg(long = "log-stderr", short = 'v', default_value = "false", value_name = "LOG_TO_STDERR")] - log_stderr: bool + #[arg( + long = "log-stderr", + short = 'v', + default_value = "false", + value_name = "LOG_TO_STDERR" + )] + log_stderr: bool, } #[tokio::main] diff --git a/controller/src/bin/patagia-controller.rs b/controller/src/bin/patagia-controller.rs index fbc56b8..7c43aa5 100644 --- a/controller/src/bin/patagia-controller.rs +++ b/controller/src/bin/patagia-controller.rs @@ -15,11 +15,20 @@ use patagia_controller::context::ControllerContext; #[derive(Parser, Debug)] #[command(version, about, long_about = None)] struct Cli { - #[arg(long = "telemetry-otlp-endpoint", default_value = "http://localhost:4317", value_name = "OTEL_EXPORTER_OTLP_ENDPOINT")] + #[arg( + long = "telemetry-otlp-endpoint", + default_value = "http://localhost:4317", + value_name = "OTEL_EXPORTER_OTLP_ENDPOINT" + )] otlp_endpoint: Option, - #[arg(long = "log-stderr", short = 'v', default_value = "false", value_name = "LOG_TO_STDERR")] - log_stderr: bool + #[arg( + long = "log-stderr", + short = 'v', + default_value = "false", + value_name = "LOG_TO_STDERR" + )] + log_stderr: bool, } #[tokio::main]