Client: option skip verif

This commit is contained in:
Pascal Engélibert 2026-03-02 12:03:53 +01:00
commit c19ca3c7d1
2 changed files with 10 additions and 4 deletions

View file

@ -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;