You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/src/cli.rs
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -180,7 +180,10 @@ pub enum SubCmd {
180
180
#[clap(subcommand)]
181
181
cmd:ConfigCmd,
182
182
},
183
-
#[clap(name = "events", about = "receive sozu events about the status of backends")]
183
+
#[clap(
184
+
name = "events",
185
+
about = "receive sozu events about the status of backends"
186
+
)]
184
187
Events,
185
188
}
186
189
@@ -296,6 +299,11 @@ pub enum ClusterCmd {
296
299
help = "Configures the load balancing policy. Possible values are 'roundrobin', 'random' or 'leastconnections'"
297
300
)]
298
301
load_balancing_policy:LoadBalancingAlgorithms,
302
+
#[clap(
303
+
long = "http2",
304
+
help = "the backends of this cluster use http2 prio-knowledge"
305
+
)]
306
+
h2:bool,
299
307
},
300
308
}
301
309
@@ -422,8 +430,6 @@ pub enum HttpFrontendCmd {
422
430
method:Option<String>,
423
431
#[clap(long = "tags", help = "Specify tag (key-value pair) to apply on front-end (example: 'key=value, other-key=other-value')", value_parser = parse_tags)]
424
432
tags:Option<BTreeMap<String,String>>,
425
-
#[clap(help = "the frontend uses http2 with prio-knowledge")]
0 commit comments