mirror of
https://github.com/sharkdp/bat
synced 2026-08-09 19:51:48 +00:00
Add --cache-dir option
This commit is contained in:
+6
-1
@@ -374,9 +374,14 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
||||
.short("d")
|
||||
.help("Show bat's configuration directory."),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("cache-dir")
|
||||
.long("cache-dir")
|
||||
.help("Show bat's cache directory."),
|
||||
)
|
||||
.group(
|
||||
ArgGroup::with_name("cache-actions")
|
||||
.args(&["init", "clear", "config-dir"])
|
||||
.args(&["init", "clear", "config-dir", "cache-dir"])
|
||||
.required(arg_group_required),
|
||||
)
|
||||
.arg(
|
||||
|
||||
Reference in New Issue
Block a user