From a0ca460901897037da015f4b4246dc303e5ce3b4 Mon Sep 17 00:00:00 2001 From: David Peter Date: Sun, 8 Aug 2021 12:02:28 +0200 Subject: [PATCH] Adjust error message --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1ba2275..e282eb6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,9 +180,9 @@ fn run() -> Result { if sep.len() > 1 { return Err(anyhow!( "A path separator must be exactly one byte, but \ - the given separator is {} bytes: {}\n\ - In some shells on Windows '/' is automatically \ - expanded. Use '//' instead.", + the given separator is {} bytes: '{}'.\n\ + In some shells on Windows, '/' is automatically \ + expanded. Try to use '//' instead.", sep.len(), sep ));