Pass client certs
This commit is contained in:
parent
a58975bf84
commit
c6a30519e2
2 changed files with 47 additions and 4 deletions
|
|
@ -61,6 +61,9 @@ struct OptClient {
|
|||
/// Only play this record
|
||||
#[argp(option)]
|
||||
record: Option<u64>,
|
||||
/// Path to PEM certificates (if not provided, use system's certificates)
|
||||
#[argp(option, short = 'c')]
|
||||
certs: Option<String>,
|
||||
/// Print debug info
|
||||
#[argp(switch, short = 'd')]
|
||||
debug: bool,
|
||||
|
|
@ -142,6 +145,7 @@ async fn main() {
|
|||
subopt.tls,
|
||||
(subopt.connect_addr, subopt.connect_port),
|
||||
subopt.repeat,
|
||||
subopt.certs.as_deref(),
|
||||
subopt.debug,
|
||||
)
|
||||
.await;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue