Skip to content

Commit

Permalink
Fix help documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shssoichiro committed Sep 17, 2021
1 parent dfef138 commit d8973c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit d8973c7

Please sign in to comment.