summaryrefslogtreecommitdiffstats
path: root/src/cli/args.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-07-04 20:49:55 +0200
committerCanop <cano.petrole@gmail.com>2022-07-04 20:49:55 +0200
commit5666e6b9fb827c07c6c21fbe0fc60f538e1aaf60 (patch)
treec5e271b91edcde4da7dcfd8f0d9f0899ca2a16bd /src/cli/args.rs
parentc688a083b46628f1a9c7a23d1765016177514be4 (diff)
default conf is now a directory
and not just a file, thanks to imports. And it contains skin files. Fix #431 Fix #340
Diffstat (limited to 'src/cli/args.rs')
-rw-r--r--src/cli/args.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli/args.rs b/src/cli/args.rs
index 56ec4e5..a81d25e 100644
--- a/src/cli/args.rs
+++ b/src/cli/args.rs
@@ -146,6 +146,10 @@ pub struct Args {
#[clap(long, action)]
pub get_root: bool,
+ /// Write default conf files in given directory
+ #[clap(long, value_parser)]
+ pub write_default_conf: Option<PathBuf>,
+
/// A socket that broot sends commands to before quitting
#[cfg(unix)]
#[clap(long, value_parser)]