fix(core): hide config_dir cli options to prevent non-intuitive behavior

This commit is contained in:
Federico Terzi 2022-03-27 21:46:06 +02:00
parent e4309a4d17
commit 0b49784c6f

View File

@ -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(