add alias for write cmd

This commit is contained in:
Clément DOUIN 2021-04-04 17:43:23 +02:00
parent d99e17af75
commit 1dc051c7c0
No known key found for this signature in database
GPG key ID: 69C9B9CFFDEE2DEF

View file

@ -86,6 +86,7 @@ pub fn msg_subcmds<'a>() -> Vec<App<'a, 'a>> {
.required(true),
),
SubCommand::with_name("write")
.aliases(&["w"])
.about("Writes a new message")
.arg(attachment_arg()),
SubCommand::with_name("send")