Skip to content

Commit

Permalink
feat(configs): added conflicts of remove-duplicate-detecions, remove_…
Browse files Browse the repository at this point in the history
…duplicate_data with low-memory-mode #1298
  • Loading branch information
hitenkoku committed Mar 7, 2024
1 parent 01127ae commit 7b8ae6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/detections/configs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1535,15 +1535,16 @@ pub struct OutputOption {

/// Duplicate field data will be replaced with "DUP"
#[arg(
help_heading = Some("Output"),
help_heading = Some("General Options"),
short = 'R',
long = "remove-duplicate-data",
conflicts_with = "low_memory_mode",
display_order = 440
)]
pub remove_duplicate_data: bool,

/// Remove duplicate detections (default: disabled)
#[arg(help_heading = Some("Output"), short = 'X', long = "remove-duplicate-detections", display_order = 441)]
#[arg(help_heading = Some("General Options"), short = 'X', long = "remove-duplicate-detections", conflicts_with = "low_memory_mode", display_order = 441)]
pub remove_duplicate_detections: bool,

/// Do not ask questions. Scan for all events and alerts.
Expand Down

0 comments on commit 7b8ae6e

Please sign in to comment.