1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-09 19:51:48 +00:00

updated PR based on comments

This commit is contained in:
Alexander Karlis
2020-09-11 22:54:47 -04:00
committed by David Peter
parent ccdea6a429
commit d349974089
3 changed files with 14 additions and 7 deletions
+3
View File
@@ -209,6 +209,7 @@ fn run() -> Result<bool> {
} else {
let inputs = vec![Input::ordinary_file(OsStr::new("cache"))];
let config = app.config(&inputs)?;
println!("{:#?}", config);
run_controller(inputs, &config)
}
@@ -217,6 +218,8 @@ fn run() -> Result<bool> {
let inputs = app.inputs()?;
let config = app.config(&inputs)?;
println!("{:#?}", config);
if app.matches.is_present("list-languages") {
list_languages(&config)?;
Ok(true)