mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 20:22:01 -06:00
Add archive --skip-existing-method flag (#292)
This commit is contained in:
parent
5d68f0334a
commit
80568a7f58
2 changed files with 125 additions and 13 deletions
|
|
@ -94,7 +94,7 @@ pub struct Download {
|
|||
#[arg(long)]
|
||||
pub(crate) ffmpeg_threads: Option<usize>,
|
||||
|
||||
#[arg(help = "Skip files which are already existing")]
|
||||
#[arg(help = "Skip files which are already existing by their name")]
|
||||
#[arg(long, default_value_t = false)]
|
||||
pub(crate) skip_existing: bool,
|
||||
#[arg(help = "Skip special episodes")]
|
||||
|
|
@ -259,7 +259,7 @@ impl Execute for Download {
|
|||
self.output_specials
|
||||
.as_ref()
|
||||
.map_or((&self.output).into(), |so| so.into()),
|
||||
self.universal_output,
|
||||
self.universal_output,
|
||||
)
|
||||
} else {
|
||||
format.format_path((&self.output).into(), self.universal_output)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue