fix typos

This commit is contained in:
Clément DOUIN 2024-01-05 21:58:02 +01:00
parent 38c8a67ddd
commit 45ce05ec4d
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
10 changed files with 10 additions and 15 deletions

View file

@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed default command: running `himalaya` without argument will list envelopes, as it used to be in previous versions.
- Fixed default command: running `himalaya` without argument lists envelopes, as it used to be in previous versions.
- Fixed bug when listing envelopes with `backend = "imap"`, `sync.enable = true` and `envelope.watch.backend = "imap"` led to unwanted IMAP connection creation (which slowed down the listing).
## [1.0.0-beta] - 2024-01-01

View file

@ -35,7 +35,7 @@ pub struct AccountConfigureCommand {
impl AccountConfigureCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing account configure command");
info!("executing configure account command");
let account = &self.account.name;
let (_, account_config) = config.into_toml_account_config(Some(account))?;

View file

@ -21,7 +21,7 @@ pub struct AccountListCommand {
impl AccountListCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing account list command");
info!("executing list accounts command");
let accounts: Accounts = config.accounts.iter().into();

View file

@ -80,7 +80,7 @@ pub struct AccountSyncCommand {
impl AccountSyncCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing account sync command");
info!("executing sync account command");
let included_folders = HashSet::from_iter(self.include_folder);
let excluded_folders = HashSet::from_iter(self.exclude_folder);

View file

@ -20,17 +20,12 @@ pub struct CompletionGenerateCommand {
impl CompletionGenerateCommand {
pub async fn execute(self) -> Result<()> {
info!("executing completion generate command");
info!("executing generate completion command");
let mut cmd = Cli::command();
let name = cmd.get_name().to_string();
clap_complete::generate(self.shell, &mut cmd, name, &mut io::stdout());
info!(
"Shell script successfully generated for shell {}!",
self.shell
);
Ok(())
}
}

View file

@ -45,7 +45,7 @@ pub struct TemplateForwardCommand {
impl TemplateForwardCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing template forward command");
info!("executing forward template command");
let folder = &self.folder.name;

View file

@ -41,7 +41,7 @@ pub struct TemplateSaveCommand {
impl TemplateSaveCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing template save command");
info!("executing save template command");
let folder = &self.folder.name;

View file

@ -37,7 +37,7 @@ pub struct TemplateSendCommand {
impl TemplateSendCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing template send command");
info!("executing send template command");
let (toml_account_config, account_config) = config.clone().into_account_configs(
self.account.name.as_ref().map(String::as_str),

View file

@ -35,7 +35,7 @@ pub struct FolderDeleteCommand {
impl FolderDeleteCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing folder delete command");
info!("executing delete folder command");
let folder = &self.folder.name;

View file

@ -22,7 +22,7 @@ pub struct ManualGenerateCommand {
impl ManualGenerateCommand {
pub async fn execute(self, printer: &mut impl Printer) -> Result<()> {
info!("executing manual generate command");
info!("executing generate manuals command");
let cmd = Cli::command();
let cmd_name = cmd.get_name().to_string();