diff --git a/src/config/container.rs b/src/config/container.rs index dd486c69..cae63489 100644 --- a/src/config/container.rs +++ b/src/config/container.rs @@ -791,7 +791,12 @@ impl Configuration { .collect(); } - if came_from_cli!(args, "silent") { + if came_from_cli!(args, "quiet") { + config.quiet = true; + config.output_level = OutputLevel::Quiet; + } + + if came_from_cli!(args, "silent") || (config.parallel > 0 && !config.quiet) { // the reason this is protected by an if statement: // consider a user specifying silent = true in ferox-config.toml // if the line below is outside of the if, we'd overwrite true with @@ -804,11 +809,6 @@ impl Configuration { }; } - if came_from_cli!(args, "quiet") { - config.quiet = true; - config.output_level = OutputLevel::Quiet; - } - if came_from_cli!(args, "auto_tune") || came_from_cli!(args, "smart") || came_from_cli!(args, "thorough") diff --git a/src/parser.rs b/src/parser.rs index e045993d..970da3f7 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -488,7 +488,6 @@ pub fn initialize() -> Command { .conflicts_with("verbosity") .num_args(1) .requires("stdin") - .requires("output_limiters") .help_heading("Scan settings") .help("Run parallel feroxbuster instances (one child process per url passed via stdin)") )