From 55f5de1803195c9d50fefc817d51771b14e5368d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Wed, 22 Feb 2023 14:36:31 +0100 Subject: [PATCH] replace reply all -a by -A --- CHANGELOG.md | 2 ++ src/domain/email/args.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78629b2d..9f6332fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Made global options truly global, which means they can be used everywhere (not only *before* commands but also *after*) [sourcehut#60]. +- Replaced reply all `-a` argument with `-A` because it conflicted + with the global option `-a|--account`. ### Fixed diff --git a/src/domain/email/args.rs b/src/domain/email/args.rs index 8a3d5f82..ab4f2071 100644 --- a/src/domain/email/args.rs +++ b/src/domain/email/args.rs @@ -298,9 +298,9 @@ pub fn parse_criteria_arg(matches: &ArgMatches) -> String { /// Represents the email reply all argument. pub fn reply_all_flag() -> Arg { Arg::new(ARG_REPLY_ALL) - .help("Includes all recipients") + .help("Include all recipients") .long("all") - .short('a') + .short('A') .action(ArgAction::SetTrue) }