fixed output #301

- To save error log, created empty folder logs

- fixed output
This commit is contained in:
DustInDark
2021-12-21 21:50:33 +09:00
parent bccdd8fef9
commit 2b76103028
4 changed files with 5 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ fn build_app<'a>() -> ArgMatches<'a> {
-t --thread-number=[NUMBER] 'Thread number (default: optimal number for performance)'
-s --statistics 'Prints statistics of event IDs'
-q --quiet 'Quiet mode. Do not display the launch banner'
-Q --quiet-errors 'Quiet errors mode. Do not display errors or save error logs'
-Q --quiet-errors 'Quiet errors mode. Do not save error logs.'
--contributors 'Prints the list of contributors'";
App::new(&program)
.about("Hayabusa: Aiming to be the world's greatest Windows event log analysis tool!")

View File

@@ -239,7 +239,7 @@ impl AlertMessage {
return;
}
println!(
"Generated error was output to {}. Please see the file for details.",
"Errors were generated. Please check {} for details.",
ERROR_LOG_PATH.to_string()
);
}