diff --git a/shell_completions/_feroxbuster b/shell_completions/_feroxbuster index bb8fdbd..f96b6cc 100644 --- a/shell_completions/_feroxbuster +++ b/shell_completions/_feroxbuster @@ -88,7 +88,7 @@ _feroxbuster() { '--insecure[Disables TLS certificate validation in the client]' \ '-n[Do not scan recursively]' \ '--no-recursion[Do not scan recursively]' \ -'--force-recursion[Force recursion attempts on all '\''found'\'' endpoints (still respects recursion depth)]' \ +'(-n --no-recursion)--force-recursion[Force recursion attempts on all '\''found'\'' endpoints (still respects recursion depth)]' \ '-e[Extract links from response body (html, javascript, etc...); make new requests based on findings]' \ '--extract-links[Extract links from response body (html, javascript, etc...); make new requests based on findings]' \ '(--auto-bail)--auto-tune[Automatically lower scan rate when an excessive amount of errors are encountered]' \ diff --git a/src/parser.rs b/src/parser.rs index df1d9bc..db4da13 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -430,6 +430,7 @@ pub fn initialize() -> Command<'static> { ).arg( Arg::new("force_recursion") .long("force-recursion") + .conflicts_with("no_recursion") .help_heading("Scan settings") .help("Force recursion attempts on all 'found' endpoints (still respects recursion depth)"), ).arg(