reorganize debug events

This commit is contained in:
yggverse 2025-06-28 21:11:18 +03:00
parent 57dfe79568
commit 212ffeab79
10 changed files with 75 additions and 117 deletions

View file

@ -20,12 +20,9 @@ pub struct Config {
])]
pub bind: Vec<String>,
/// Debug level
///
/// * `e` - error
/// * `i` - info
#[arg(short, long, default_value_t = String::from("ei"))]
pub debug: String,
/// Print debug information
#[arg(short, long, default_value_t = false)]
pub debug: bool,
/// Absolute path to the public files directory
#[arg(short, long)]