fixup CLI flags

This commit is contained in:
Pierre Dubouilh authored and Pierre Dubouilh committed 2026-05-27 18:10:50 +02:00
1 parent 1b9385e415
commit 02f5bea4c0
1 file changed
+5 -1
+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");
}