From be5c13ab0d360d3ce560d6ac02e1e29658eeec1d Mon Sep 17 00:00:00 2001 From: strawberry Date: Wed, 13 Mar 2024 02:12:14 -0400 Subject: [PATCH] make config PathBuf instead of String Signed-off-by: strawberry --- src/clap.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/clap.rs b/src/clap.rs index dc3655a8..446398c7 100644 --- a/src/clap.rs +++ b/src/clap.rs @@ -1,5 +1,7 @@ //! Integration with `clap` +use std::path::PathBuf; + use clap::Parser; /// Commandline arguments @@ -8,7 +10,7 @@ use clap::Parser; pub struct Args { #[arg(short, long)] /// Optional argument to the path of a conduwuit config TOML file - pub config: Option, + pub config: Option, } /// Parse commandline arguments into structured data