From 8f1f61e247b3cb9d408c57b0f7ff8bdf0840e96d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Wed, 13 Mar 2024 15:20:32 +0100 Subject: [PATCH] Remove cli conflicts for nr vs ipr --- gateway/src/commands/init.rs | 4 ++-- gateway/src/commands/run.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gateway/src/commands/init.rs b/gateway/src/commands/init.rs index bfa12bd66d..58dc427f8b 100644 --- a/gateway/src/commands/init.rs +++ b/gateway/src/commands/init.rs @@ -82,11 +82,11 @@ pub struct Init { statistics_service_url: Option, /// Allows this gateway to run an embedded network requester for minimal network overhead - #[clap(long, conflicts_with = "with_ip_packet_router")] + #[clap(long)] with_network_requester: bool, /// Allows this gateway to run an embedded network requester for minimal network overhead - #[clap(long, hide = true, conflicts_with = "with_network_requester")] + #[clap(long, hide = true)] with_ip_packet_router: bool, // ##### NETWORK REQUESTER FLAGS ##### diff --git a/gateway/src/commands/run.rs b/gateway/src/commands/run.rs index 76f7629de5..3418c216ac 100644 --- a/gateway/src/commands/run.rs +++ b/gateway/src/commands/run.rs @@ -87,11 +87,11 @@ pub struct Run { statistics_service_url: Option, /// Allows this gateway to run an embedded network requester for minimal network overhead - #[arg(long, conflicts_with = "with_ip_packet_router")] + #[arg(long)] with_network_requester: Option, /// Allows this gateway to run an embedded network requester for minimal network overhead - #[arg(long, hide = true, conflicts_with = "with_network_requester")] + #[arg(long, hide = true)] with_ip_packet_router: Option, // ##### NETWORK REQUESTER FLAGS #####