File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -791,7 +791,12 @@ impl Configuration {
791791 . collect ( ) ;
792792 }
793793
794- if came_from_cli ! ( args, "silent" ) {
794+ if came_from_cli ! ( args, "quiet" ) {
795+ config. quiet = true ;
796+ config. output_level = OutputLevel :: Quiet ;
797+ }
798+
799+ if came_from_cli ! ( args, "silent" ) || ( config. parallel > 0 && !config. quiet ) {
795800 // the reason this is protected by an if statement:
796801 // consider a user specifying silent = true in ferox-config.toml
797802 // if the line below is outside of the if, we'd overwrite true with
@@ -804,11 +809,6 @@ impl Configuration {
804809 } ;
805810 }
806811
807- if came_from_cli ! ( args, "quiet" ) {
808- config. quiet = true ;
809- config. output_level = OutputLevel :: Quiet ;
810- }
811-
812812 if came_from_cli ! ( args, "auto_tune" )
813813 || came_from_cli ! ( args, "smart" )
814814 || came_from_cli ! ( args, "thorough" )
Original file line number Diff line number Diff line change @@ -488,7 +488,6 @@ pub fn initialize() -> Command {
488488 . conflicts_with ( "verbosity" )
489489 . num_args ( 1 )
490490 . requires ( "stdin" )
491- . requires ( "output_limiters" )
492491 . help_heading ( "Scan settings" )
493492 . help ( "Run parallel feroxbuster instances (one child process per url passed via stdin)" )
494493 )
You can’t perform that action at this time.
0 commit comments