From d8973c72d6e34f84e16c83dd8c93320260b6b02d Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Fri, 17 Sep 2021 09:30:31 -0400 Subject: [PATCH] Fix help documentation --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6d2a5f0..2958914 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,8 +20,8 @@ fn main() { .default_value("0"), ) .arg( - Arg::with_name("EXCLUDE_FLASHES") - .help("Detect short scene flashes and exclude them as scene cuts") + Arg::with_name("NO_FLASH_DETECT") + .help("Do not detect short scene flashes and exclude them as scene cuts") .long("no-flash-detection"), ) .arg( @@ -51,7 +51,7 @@ fn main() { let mut reader = BufReader::new(input); let mut opts = DetectionOptions { - ignore_flashes: matches.is_present("EXCLUDE_FLASHES"), + ignore_flashes: matches.is_present("NO_FLASH_DETECT"), min_scenecut_distance: matches.value_of("MIN_KEYINT").map(|val| { val.parse() .expect("Min-scenecut must be a positive integer")