mirror of
https://github.com/imgurbot12/rmenu.git
synced 2024-11-13 04:43:46 +01:00
fix: better short-flags
This commit is contained in:
parent
1501e748d0
commit
b8c820aabf
@ -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>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user