diff options
author | metamuffin <metamuffin@disroot.org> | 2023-12-17 14:49:19 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-12-17 14:49:19 +0100 |
commit | 2e6f2a2d21a0ba9a5c8f13bf27e64615144cf222 (patch) | |
tree | e48550f7c9a4d7235df9df62d993ec2213b09fd7 /tool/src/main.rs | |
parent | 908f05cb992238b93466b382edcaac1aea83de9a (diff) | |
download | jellything-2e6f2a2d21a0ba9a5c8f13bf27e64615144cf222.tar jellything-2e6f2a2d21a0ba9a5c8f13bf27e64615144cf222.tar.bz2 jellything-2e6f2a2d21a0ba9a5c8f13bf27e64615144cf222.tar.zst |
tool: skip existing option
Diffstat (limited to 'tool/src/main.rs')
-rw-r--r-- | tool/src/main.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tool/src/main.rs b/tool/src/main.rs index 47c9a53..3744560 100644 --- a/tool/src/main.rs +++ b/tool/src/main.rs @@ -59,18 +59,21 @@ enum Action { /// Marks node as a video #[arg(long)] video: bool, - /// Path to the media of the node, required for non-series - #[arg(short, long)] - input: Option<PathBuf>, /// Marks node as a series #[arg(short, long)] series: bool, + /// Path to the media of the node, required for non-series + #[arg(short, long)] + input: Option<PathBuf>, /// Ignore attachments (dont use them as cover) #[arg(long)] ignore_attachments: bool, /// Ignore metadate (no title, description and tagline from input) #[arg(long)] ignore_metadata: bool, + /// Skip any action that appears to be run already. + #[arg(long)] + skip_existing: bool, }, Migrate { database: PathBuf, |