From 92136abd949f2aec9689ff6b90a0d5365a0a1464 Mon Sep 17 00:00:00 2001 From: defigli Date: Mon, 17 Nov 2025 22:20:37 +0100 Subject: [PATCH] feat: implement config file support for `no_banner` (fixes #845) --- src/input.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input.rs b/src/input.rs index 26605317..c8b0aa91 100644 --- a/src/input.rs +++ b/src/input.rs @@ -200,7 +200,7 @@ impl Opts { merge_required!( addresses, greppable, accessible, batch_size, timeout, tries, scan_order, scripts, - command, udp + command, udp, no_banner ); } @@ -273,6 +273,7 @@ pub struct Config { exclude_ports: Option>, exclude_addresses: Option>, udp: Option, + no_banner: Option, } #[cfg(not(tarpaulin_include))] @@ -348,6 +349,7 @@ mod tests { exclude_ports: None, exclude_addresses: None, udp: Some(false), + no_banner: None, } } }