From 0b49784c6f8f9e70351d6441404b661ce27f57a3 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sun, 27 Mar 2022 21:46:06 +0200 Subject: [PATCH] fix(core): hide config_dir cli options to prevent non-intuitive behavior --- espanso/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/espanso/src/main.rs b/espanso/src/main.rs index d89dfd5..708cd8d 100644 --- a/espanso/src/main.rs +++ b/espanso/src/main.rs @@ -194,18 +194,21 @@ fn main() { Arg::with_name("config_dir") .long("config_dir") .takes_value(true) + .hidden(true) .help("Specify a custom path from which espanso should read the configuration"), ) .arg( Arg::with_name("package_dir") .long("package_dir") .takes_value(true) + .hidden(true) .help("Specify a custom path for the espanso package directory"), ) .arg( Arg::with_name("runtime_dir") .long("runtime_dir") .takes_value(true) + .hidden(true) .help("Specify a custom path for the espanso runtime directory"), ) .subcommand(