fixup CLI flags

This commit is contained in:
Pierre Dubouilh
2026-05-27 18:10:50 +02:00
committed by Pierre Dubouilh
parent 1b9385e415
commit 02f5bea4c0
+5 -1
View File
@@ -66,7 +66,11 @@ async fn run() -> Result<()> {
log!("starting with json parsing at {:?}", &p);
}
if json_logpath.is_none() && clf_logpath.is_none() && sshd_logpath.is_none() {
if json_logpath.is_none()
&& clf_logpath.is_none()
&& sshd_logpath.is_none()
&& generic_path.is_none()
{
bail!("no log files to parse, see --help");
}