Adjust error message

This commit is contained in:
David Peter 2021-08-08 12:02:28 +02:00 committed by David Peter
parent 693325bcf2
commit a0ca460901

View file

@ -180,9 +180,9 @@ fn run() -> Result<ExitCode> {
if sep.len() > 1 { if sep.len() > 1 {
return Err(anyhow!( return Err(anyhow!(
"A path separator must be exactly one byte, but \ "A path separator must be exactly one byte, but \
the given separator is {} bytes: {}\n\ the given separator is {} bytes: '{}'.\n\
In some shells on Windows '/' is automatically \ In some shells on Windows, '/' is automatically \
expanded. Use '//' instead.", expanded. Try to use '//' instead.",
sep.len(), sep.len(),
sep sep
)); ));