From dd3e3a3c784b6adf4b42598855fc838685e642ef Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 9 Mar 2023 21:18:20 +0100 Subject: [PATCH] Fixes --- schemsearch-cli/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/schemsearch-cli/src/main.rs b/schemsearch-cli/src/main.rs index ec31e06..adb0a68 100644 --- a/schemsearch-cli/src/main.rs +++ b/schemsearch-cli/src/main.rs @@ -258,7 +258,9 @@ fn main() { search_schempath(search_behavior, &pattern, &mut output_std, &mut output_std_csv, &mut output_file_csv, &mut output_file, &mut lock, &mut file_out, schematic, schem.get_name()); } Err(e) => { - println!("Error while loading schematic ({}): {}", schem.get_name(), e.to_string()); + if !output_std && !output_std_csv { + println!("Error while loading schematic ({}): {}", schem.get_name(), e.to_string()); + } } } }