mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-16 02:59:17 +02:00
Rename field name, new constructors
This commit is contained in:
@ -9,9 +9,8 @@ fn main() {
|
||||
let path_to_this_file = OsStr::new(file!());
|
||||
|
||||
let config = Config {
|
||||
files: vec![InputFile::Ordinary(OrdinaryFile::new(
|
||||
files: vec![InputFile::Ordinary(OrdinaryFile::from_path(
|
||||
path_to_this_file,
|
||||
None,
|
||||
))],
|
||||
colored_output: true,
|
||||
true_color: true,
|
||||
|
Reference in New Issue
Block a user