cli: Change reaction flag to emoji

Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
xphoniex
2023-01-18 18:12:59 +01:00
committed by Alexis Sellier
parent 73b7db10fe
commit 1e4cff4a0f
+1 -1
View File
@@ -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"))?);