From 87ec9a51f16b9e6662c48ef6439e0e2b3e07f18c Mon Sep 17 00:00:00 2001 From: Mike Beaumont Date: Tue, 8 Oct 2024 21:06:05 +0200 Subject: [PATCH] feat: add conflicts_with_all Signed-off-by: Mike Beaumont --- control-plane/csi-driver/src/bin/node/main_.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/control-plane/csi-driver/src/bin/node/main_.rs b/control-plane/csi-driver/src/bin/node/main_.rs index 2cdb7646d..34b1ea417 100644 --- a/control-plane/csi-driver/src/bin/node/main_.rs +++ b/control-plane/csi-driver/src/bin/node/main_.rs @@ -132,6 +132,7 @@ pub(super) async fn main() -> anyhow::Result<()> { .short('g') .long("grpc-endpoint") .value_name("ENDPOINT") + .conflicts_with_all(["grpc-ip", "grpc-port"]) .help("ip address where this instance runs, and optionally the gRPC port") .default_value("[::]") .required(false)