Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Add warning message the --skip-existing-method has no effect withou…
Browse files Browse the repository at this point in the history
…t `--skip-existing` (#418)
  • Loading branch information
bytedream committed May 14, 2024
1 parent 817963a commit 5902427
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crunchy-cli-core/src/archive/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ impl Execute for Archive {
bail!("`--include-chapters` can only be used if `--merge` is set to 'audio' or 'sync'")
}

if !self.skip_existing_method.is_empty() && !self.skip_existing {
warn!("`--skip-existing-method` has no effect if `--skip-existing` is not set")
}

self.audio = all_locale_in_locales(self.audio.clone());
self.subtitle = all_locale_in_locales(self.subtitle.clone());

Expand Down

0 comments on commit 5902427

Please sign in to comment.