fix(core): hide config_dir cli options to prevent non-intuitive behavior
This commit is contained in:
parent
e4309a4d17
commit
0b49784c6f
|
@ -194,18 +194,21 @@ fn main() {
|
||||||
Arg::with_name("config_dir")
|
Arg::with_name("config_dir")
|
||||||
.long("config_dir")
|
.long("config_dir")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
.hidden(true)
|
||||||
.help("Specify a custom path from which espanso should read the configuration"),
|
.help("Specify a custom path from which espanso should read the configuration"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("package_dir")
|
Arg::with_name("package_dir")
|
||||||
.long("package_dir")
|
.long("package_dir")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
.hidden(true)
|
||||||
.help("Specify a custom path for the espanso package directory"),
|
.help("Specify a custom path for the espanso package directory"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("runtime_dir")
|
Arg::with_name("runtime_dir")
|
||||||
.long("runtime_dir")
|
.long("runtime_dir")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
.hidden(true)
|
||||||
.help("Specify a custom path for the espanso runtime directory"),
|
.help("Specify a custom path for the espanso runtime directory"),
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user