Add --config-file option

This commit is contained in:
sharkdp committed 2018-10-17 23:08:37 +02:00
1 parent 10965a6122
commit 8dc7e2efa3
3 files changed
+19 -2

No files matched your search

+8
View File
@@ -265,6 +265,14 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.hidden(true)
.help("Do not use the configuration file"),
)
.arg(
Arg::with_name("config-file")
.long("config-file")
.conflicts_with("list-languages")
.conflicts_with("list-themes")
.hidden(true)
.help("Show path to the configuration file"),
)
.subcommand(
SubCommand::with_name("cache")
.about("Modify the syntax-definition and theme cache")