Skip to content

Commit

Permalink
modified msg when dir listing is found with dont-extract
Browse files Browse the repository at this point in the history
  • Loading branch information
epi052 committed Apr 11, 2023
1 parent b5472f5 commit 1ced3b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/scanner/ferox_scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,11 @@ impl FeroxScanner {
let mut message = format!("=> {}", style("Directory listing").blue().bright());

if !self.handles.config.extract_links {
write!(message, " (add {} to scan)", style("-e").bright().yellow())?;
write!(
message,
" (remove {} to scan)",
style("--dont-extract-links").bright().yellow()
)?;
}

if !self.handles.config.force_recursion {
Expand Down

0 comments on commit 1ced3b5

Please sign in to comment.