From 079572666a4bf4d22a4912d102cdbc76f450ef97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Sun, 19 Sep 2021 17:04:05 +0200 Subject: [PATCH] review reply command --- src/domain/msg/arg.rs | 1 + src/domain/msg/handler.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/domain/msg/arg.rs b/src/domain/msg/arg.rs index 1dd31892..6c78b29b 100644 --- a/src/domain/msg/arg.rs +++ b/src/domain/msg/arg.rs @@ -278,6 +278,7 @@ pub fn subcmds<'a>() -> Vec> { .short("r"), ), SubCommand::with_name("reply") + .aliases(&["rep", "r"]) .about("Answers to a message") .arg(uid_arg()) .arg(reply_all_arg()) diff --git a/src/domain/msg/handler.rs b/src/domain/msg/handler.rs index 518b5931..555191a4 100644 --- a/src/domain/msg/handler.rs +++ b/src/domain/msg/handler.rs @@ -326,6 +326,7 @@ pub fn read