implement CLF option

This commit is contained in:
yggverse 2025-06-25 06:34:27 +03:00
parent 50a0a567a8
commit ad9bb1ae49
7 changed files with 72 additions and 16 deletions

View file

@ -7,6 +7,10 @@ const PORT: u16 = 1900;
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
pub struct Config {
/// Absolute path to the access log file
#[arg(short, long)]
pub access_log: Option<String>,
/// Bind server(s) `host:port` to listen incoming connections
///
/// * use `[host]:port` notation for IPv6