fix: better short-flags

This commit is contained in:
imgurbot12 2023-08-19 15:24:04 -07:00
parent 1501e748d0
commit b8c820aabf

View File

@ -98,10 +98,10 @@ struct EntryArgs {
#[clap(required = true)] #[clap(required = true)]
actions: Vec<Action>, actions: Vec<Action>,
/// Icon Image Path /// Icon Image Path
#[arg(short, long)] #[arg(short = 'i', long)]
icon: Option<String>, icon: Option<String>,
/// Alternative Image Text/HTML /// Alternative Image Text/HTML
#[arg(short = 'o', long)] #[arg(short = 'I', long)]
icon_alt: Option<String>, icon_alt: Option<String>,
} }