1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-22 16:53:19 +00:00

Rename methods and parameters

This commit is contained in:
sharkdp
2020-03-21 20:36:00 +01:00
committed by David Peter
parent 83dc13a86d
commit acf51bd7b3
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ fn run_cache_subcommand(matches: &clap::ArgMatches) -> Result<()> {
let blank = matches.is_present("blank");
let assets = HighlightingAssets::from_files(source_dir, blank)?;
assets.save(target_dir)?;
let assets = HighlightingAssets::from_files(source_dir, !blank)?;
assets.save_to_cache(target_dir)?;
} else if matches.is_present("clear") {
clear_assets();
}