mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 22:10:31 +08:00
cli: Change reaction flag to emoji
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
@@ -123,7 +123,7 @@ impl Args for Options {
|
||||
reason: CloseReason::Solved,
|
||||
});
|
||||
}
|
||||
Long("reaction") if op == Some(OperationName::React) => {
|
||||
Long("emoji") if op == Some(OperationName::React) => {
|
||||
if let Some(emoji) = parser.value()?.to_str() {
|
||||
reaction =
|
||||
Some(Reaction::from_str(emoji).map_err(|_| anyhow!("invalid emoji"))?);
|
||||
|
||||
Reference in New Issue
Block a user