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 ));