From ffe8762ee69bac18557dc2f58ab821a8fc5cc424 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 23 Mar 2025 09:00:02 +0100 Subject: [PATCH] Fix the GNU test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dorian Péron <72708393+RenjiSann@users.noreply.github.com> --- src/uu/ls/src/ls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 4d9899169..e276eaa11 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -208,7 +208,7 @@ enum LsError { #[error("{}: not listing already-listed directory", .0.to_string_lossy())] AlreadyListedError(PathBuf), - #[error("invalid --time-style argument {0}\nPossible values are: {1:?}\n\nFor more information try --help")] + #[error("invalid --time-style argument {}\nPossible values are: {:?}\n\nFor more information try --help", .0.quote(), .1)] TimeStyleParseError(String, Vec), }