mirror of
https://github.com/pldubouilh/blockfast.git
synced 2026-09-02 23:27:39 -04:00
fixup CLI flags
This commit is contained in:
committed by
Pierre Dubouilh
parent
1b9385e415
commit
02f5bea4c0
+5
-1
@@ -66,7 +66,11 @@ async fn run() -> Result<()> {
|
|||||||
log!("starting with json parsing at {:?}", &p);
|
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");
|
bail!("no log files to parse, see --help");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user