|
@@ -49,7 +49,7 @@ fn main() {
|
|
|
.target(Target::Stdout)
|
|
|
.init();
|
|
|
|
|
|
- info!("Reading input file {}", cli.input.to_string_lossy());
|
|
|
+ info!("Reading input file '{}'", cli.input.to_string_lossy());
|
|
|
let mut input: File = File::open(cli.input).expect("Failed to open input file");
|
|
|
|
|
|
// Deserialize to memory buffer for perf
|
|
@@ -103,7 +103,7 @@ fn main() {
|
|
|
|
|
|
// Process diff
|
|
|
if let Some(diff) = cli.diff {
|
|
|
- info!("Processing diff file {}", diff.to_string_lossy());
|
|
|
+ info!("Processing diff file '{}'", diff.to_string_lossy());
|
|
|
let mut diff: File = File::open(diff).expect("Failed to open diff file");
|
|
|
let diff_file: EzCadHeader =
|
|
|
EzCadHeader::read_le(&mut diff).expect("Failed to parse diff file as EZCAD format");
|
|
@@ -128,7 +128,7 @@ fn main() {
|
|
|
|
|
|
// Process config
|
|
|
if let Some(config) = cli.config {
|
|
|
- info!("Processing config file {}", config.to_string_lossy());
|
|
|
+ info!("Processing config file '{}'", config.to_string_lossy());
|
|
|
let config: String = std::fs::read_to_string(config).expect("Failed to open config file");
|
|
|
let config: Config = serde_yaml::from_str(&config).expect("Failed to parse config file");
|
|
|
|
|
@@ -140,6 +140,7 @@ fn main() {
|
|
|
|
|
|
// Process output
|
|
|
if let Some(output) = cli.output {
|
|
|
+ info!("Writing output file '{}'", output.to_string_lossy());
|
|
|
// Serialize to memory buffer for perf
|
|
|
let mut buffer: Cursor<Vec<u8>> = Cursor::new(vec![]);
|
|
|
let time: Instant = Instant::now();
|