From 8e9363d519855d94776687c17055c06b186f59ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Mon, 4 Dec 2023 08:56:47 +0100 Subject: [PATCH] Add -r command line argument for restrict_http_upgrade_path_prefix --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7118e87..82cfe5c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -162,7 +162,7 @@ struct Server { /// Useful if you specify in the client a custom path prefix and you want the server to only allow this one. /// The path prefix act as a secret to authenticate clients /// Disabled by default. Accept all path prefix. Can be specified multiple time - #[arg(long, verbatim_doc_comment)] + #[arg(short = 'r', long, verbatim_doc_comment)] restrict_http_upgrade_path_prefix: Option>, /// [Optional] Use custom certificate (.crt) instead of the default embedded self signed certificate.