Client: option skip verif
This commit is contained in:
parent
c6a30519e2
commit
c19ca3c7d1
2 changed files with 10 additions and 4 deletions
|
|
@ -64,6 +64,9 @@ struct OptClient {
|
|||
/// Path to PEM certificates (if not provided, use system's certificates)
|
||||
#[argp(option, short = 'c')]
|
||||
certs: Option<String>,
|
||||
/// Do not verify certificates
|
||||
#[argp(option, short = 's')]
|
||||
skip_verif: bool,
|
||||
/// Print debug info
|
||||
#[argp(switch, short = 'd')]
|
||||
debug: bool,
|
||||
|
|
@ -146,6 +149,7 @@ async fn main() {
|
|||
(subopt.connect_addr, subopt.connect_port),
|
||||
subopt.repeat,
|
||||
subopt.certs.as_deref(),
|
||||
subopt.skip_verif,
|
||||
subopt.debug,
|
||||
)
|
||||
.await;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue