diff options
| author | metamuffin <metamuffin@disroot.org> | 2023-06-14 17:05:32 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2023-06-14 17:05:32 +0200 | 
| commit | d77c71ce8d380f6a1fb3a631507987758e909328 (patch) | |
| tree | 98624104f4ecd7a2e40af0224df00aa8ca01a829 /tools | |
| parent | 56d3fa54feb8daa2827e0568187148413ae63f03 (diff) | |
| download | jellything-d77c71ce8d380f6a1fb3a631507987758e909328.tar jellything-d77c71ce8d380f6a1fb3a631507987758e909328.tar.bz2 jellything-d77c71ce8d380f6a1fb3a631507987758e909328.tar.zst | |
rename banner to poster
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/src/bin/import.rs | 8 | 
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; | 
