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:
committed by
David Peter
parent
ccdea6a429
commit
d349974089
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user