Skip to content

Commit 29acf7e

Browse files
feat: add conflicts_with_all
1 parent 088c200 commit 29acf7e

File tree

1 file changed

+1
-0
lines changed
  • control-plane/csi-driver/src/bin/node

1 file changed

+1
-0
lines changed

control-plane/csi-driver/src/bin/node/main_.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ pub(super) async fn main() -> anyhow::Result<()> {
132132
.short('g')
133133
.long("grpc-endpoint")
134134
.value_name("ENDPOINT")
135+
.conflicts_with_all(["grpc-ip", "grpc-port"])
135136
.help("ip address where this instance runs, and optionally the gRPC port")
136137
.default_value("[::]")
137138
.required(false)

0 commit comments

Comments
 (0)