fix cli option docs

This commit is contained in:
Toshit Chawda 2024-03-28 19:24:37 -07:00
parent 1ce39f6492
commit 795269ca42
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D

View file

@ -37,8 +37,7 @@ struct Cli {
/// Host the server should bind to /// Host the server should bind to
#[arg(long = "host", short, value_name = "HOST", default_value = "0.0.0.0")] #[arg(long = "host", short, value_name = "HOST", default_value = "0.0.0.0")]
bind_host: String, bind_host: String,
/// Whether the server should listen on a Unix socket located at the value of the bind_host /// Whether the server should listen on a Unix socket located at the value of the host argument
/// argument
#[arg(long, short)] #[arg(long, short)]
unix_socket: bool, unix_socket: bool,
/// Whether the server should block IP addresses that are not globally reachable /// Whether the server should block IP addresses that are not globally reachable