diff options
author | Ben S <ogham@bsago.me> | 2015-08-03 10:22:24 +0100 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2015-08-03 10:22:24 +0100 |
commit | ebbac61c742aad0eb4e36ed25c7f7a2300106791 (patch) | |
tree | e5e3a1967f8b12554b0260317871fe415fe27a33 /src/output/mod.rs | |
parent | 21ee2fbb30c88dd0394177383ad342aa7c4f0c72 (diff) |
Slim down symlink arrow
Fixes #74. There's one argument for changing the arrow, and none against!
Diffstat (limited to 'src/output/mod.rs')
-rw-r--r-- | src/output/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/mod.rs b/src/output/mod.rs index b4d9bba..4205852 100644 --- a/src/output/mod.rs +++ b/src/output/mod.rs @@ -28,13 +28,13 @@ fn symlink_filename(file: &File, colours: &Colours) -> String { match file.link_target() { Ok(target) => format!("{} {} {}", file_colour(colours, file).paint(&file.name), - colours.punctuation.paint("=>"), + colours.punctuation.paint("->"), ANSIStrings(&[ colours.symlink_path.paint(&target.path_prefix()), file_colour(colours, &target).paint(&target.name) ])), Err(filename) => format!("{} {} {}", file_colour(colours, file).paint(&file.name), - colours.broken_arrow.paint("=>"), + colours.broken_arrow.paint("->"), colours.broken_filename.paint(&filename)), } } |