From 3112e23040c85a732ad581df4f40d319298fa450 Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Wed, 22 Oct 2025 16:43:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(cli):=20correct=20spelling?= =?UTF-8?q?=20errors=20in=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - correct spelling of "behaviour" to "behavior" - correct spelling of "dry-run mode" --- src/cli/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cli/main.rs b/src/cli/main.rs index 945354e..a65888c 100644 --- a/src/cli/main.rs +++ b/src/cli/main.rs @@ -59,7 +59,7 @@ //! //! ## Safety Features //! -//! - **Dry-run mode**: Default behavior prevents accidental data loss +//! - **Dry-run mode**: Default behaviour prevents accidental data loss //! - **Comprehensive logging**: Detailed operation tracking with multiple verbosity levels //! - **Error handling**: Graceful error recovery with meaningful error messages //! - **Confirmation prompts**: For destructive operations @@ -140,7 +140,7 @@ use std::path::PathBuf; /// - **Logging**: Configurable verbosity levels for operation visibility /// - **Subcommands**: Optional command selection (defaults to rule execution) /// -/// # Default Behavior +/// # Default behaviour /// /// When no subcommand is provided, the CLI executes the default rule processing /// workflow, loading rules from the configuration file and executing them @@ -263,7 +263,7 @@ async fn main() { }); } -/// Main application logic dispatcher handling subcommand execution and default behavior. +/// Main application logic dispatcher handling subcommand execution and default behaviour. /// /// This function orchestrates the core application workflow by: /// 1. Loading configuration from files and environment @@ -278,7 +278,7 @@ async fn main() { /// /// Returns `Result<()>` indicating success or failure of the operation. /// -/// # Default Behavior +/// # Default behaviour /// /// When no subcommand is specified, the function executes the default rule processing /// workflow, loading rules from configuration and executing them based on the @@ -360,7 +360,7 @@ async fn run(args: Cli) -> Result<()> { /// - **Debug**: Detailed operation info, API calls, configuration values /// - **Trace**: Very detailed debugging information /// -/// # Default Behavior +/// # Default behaviour /// /// The function enforces a minimum of Info-level logging to ensure users /// receive adequate feedback about application operations, even when