Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,12 +382,15 @@ pub struct ScanArgs {
#[arg(short, long, default_value = "0")]
pub max_depth: usize,

/// Number of files scanned in parallel. 0 scans one file at a time; -1 also disables the per-file timeout.
#[arg(short = 'n', long, default_value_t = ProcessMode::default_value(), value_parser = parse_processes, allow_hyphen_values = true)]
pub processes: ProcessMode,

/// Per-file time budget in seconds; 0 disables it. A file that exceeds the budget is reported in scan_errors and the scan continues.
#[arg(long, default_value_t = 120.0)]
pub timeout: f64,

/// Suppress progress and logging. File errors remain in scan_errors; only some command errors and refusals are printed.
#[arg(short, long, conflicts_with = "verbose")]
pub quiet: bool,

Expand Down
Loading