Skip to content

Commit

Permalink
feat: add conflicts_with_all
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <[email protected]>
  • Loading branch information
michaelbeaumont committed Oct 9, 2024
1 parent 088c200 commit 87ec9a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions control-plane/csi-driver/src/bin/node/main_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87ec9a5

Please sign in to comment.