aboutsummaryrefslogtreecommitdiff
path: root/tools/src/bin/import.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-14 17:05:32 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-14 17:05:32 +0200
commitd77c71ce8d380f6a1fb3a631507987758e909328 (patch)
tree98624104f4ecd7a2e40af0224df00aa8ca01a829 /tools/src/bin/import.rs
parent56d3fa54feb8daa2827e0568187148413ae63f03 (diff)
downloadjellything-d77c71ce8d380f6a1fb3a631507987758e909328.tar
jellything-d77c71ce8d380f6a1fb3a631507987758e909328.tar.bz2
jellything-d77c71ce8d380f6a1fb3a631507987758e909328.tar.zst
rename banner to poster
Diffstat (limited to 'tools/src/bin/import.rs')
-rw-r--r--tools/src/bin/import.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/src/bin/import.rs b/tools/src/bin/import.rs
index eb6ebfe..8505e01 100644
--- a/tools/src/bin/import.rs
+++ b/tools/src/bin/import.rs
@@ -39,7 +39,7 @@ enum Action {
#[arg(short = 'I', long)]
item: PathBuf,
#[arg(short, long)]
- banner: Option<PathBuf>,
+ poster: Option<PathBuf>,
#[arg(short, long)]
title: Option<String>,
#[arg(short = 'D', long)]
@@ -154,7 +154,7 @@ fn main() -> anyhow::Result<()> {
Ok(())
}
Action::Set {
- banner,
+ poster,
clear_inputs,
description,
description_head,
@@ -182,8 +182,8 @@ fn main() -> anyhow::Result<()> {
if let Some(title) = title {
iteminfo.title = title;
}
- if let Some(banner) = banner {
- iteminfo.poster = Some(banner);
+ if let Some(poster) = poster {
+ iteminfo.poster = Some(poster);
}
if let Some(d) = description {
iteminfo.description = d;