fixed no output when q opion only

This commit is contained in:
DustInDark
2022-06-15 03:26:04 +09:00
parent d258ee0bfc
commit 0ad0a76670

View File

@@ -276,6 +276,14 @@ impl App {
.ok();
}
return;
} else {
write_color_buffer(
BufferWriter::stdout(ColorChoice::Always),
None,
&configs::CONFIG.read().unwrap().headless_help,
)
.ok();
return;
}
let analysis_end_time: DateTime<Local> = Local::now();