From 7568f93d926bc45cad3677011e0fc9a836f305f8 Mon Sep 17 00:00:00 2001 From: Ofer Chen Date: Fri, 7 Nov 2025 02:32:07 +0100 Subject: [PATCH] Use upstream unknown option wording --- crates/cli/src/frontend/execution/operands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cli/src/frontend/execution/operands.rs b/crates/cli/src/frontend/execution/operands.rs index 651984e6b..32792e340 100644 --- a/crates/cli/src/frontend/execution/operands.rs +++ b/crates/cli/src/frontend/execution/operands.rs @@ -22,7 +22,7 @@ impl UnsupportedOption { pub(crate) fn to_message(&self) -> Message { let option = self.option.to_string_lossy(); let text = format!( - "unsupported option '{option}': this build currently supports only {SUPPORTED_OPTIONS_LIST}" + "unknown option '{option}': this build currently supports only {SUPPORTED_OPTIONS_LIST}" ); rsync_error!(1, text).with_role(Role::Client) } @@ -30,7 +30,7 @@ impl UnsupportedOption { pub(crate) fn fallback_text(&self) -> String { let option = self.option.to_string_lossy(); format!( - "unsupported option '{option}': this build currently supports only {SUPPORTED_OPTIONS_LIST}" + "unknown option '{option}': this build currently supports only {SUPPORTED_OPTIONS_LIST}" ) } }