Skip to content
Snippets Groups Projects
Commit be5c13ab authored by 🥺's avatar 🥺 🏳️‍⚧️ Committed by 🥺
Browse files

make config PathBuf instead of String

parent 0db3a43d
No related branches found
No related tags found
No related merge requests found
//! Integration with `clap`
use std::path::PathBuf;
use clap::Parser;
/// Commandline arguments
......@@ -8,7 +10,7 @@
pub struct Args {
#[arg(short, long)]
/// Optional argument to the path of a conduwuit config TOML file
pub config: Option<String>,
pub config: Option<PathBuf>,
}
/// Parse commandline arguments into structured data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment