Cleans up the locate

This commit is contained in:
Dandaedre 2023-05-17 21:40:52 +02:00
parent c253a8d0a3
commit ec082a714d
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ fn print_snippet(args: &Cli) {
Ok(sn) => sn,
};
if args.locate {
println!("{:?}", path);
println!("{}", path.to_string_lossy());
} else {
println!("{}", f_str);
}