mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-17 17:35:16 +01:00
Adjust error message
This commit is contained in:
parent
693325bcf2
commit
a0ca460901
1 changed files with 3 additions and 3 deletions
|
@ -180,9 +180,9 @@ fn run() -> Result<ExitCode> {
|
|||
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
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue