mirror of
https://github.com/YGGverse/nexy.git
synced 2026-04-02 02:05:29 +00:00
implement CLF option
This commit is contained in:
parent
50a0a567a8
commit
ad9bb1ae49
7 changed files with 72 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue