aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.rs
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-12-25 15:17:12 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-12-25 15:17:12 +0000
commitde9c68b085034c897f26ce22fa05bd2601e79373 (patch)
tree9996862988168ba7fa6e561bc2e5133072356c0e /src/util.rs
parentffa08735aee2d69e17bce5c29a7ef96cc7e2233f (diff)
Version 0.2.0
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index 9c0ed1c..25b5c67 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -7,7 +7,7 @@ pub const EXIT_INSTALL_FAILED: i32 = 2;
// todo: figure out a better way of doing this
pub fn str_step(step: &Step) -> String {
match step {
- Step::Link(path) => format!("Link {} to {}", &path.from, &path.to),
+ Step::Link(path) => format!("Link {} to {} (symbolic: {})", &path.from, &path.to, &path.symbolic.unwrap_or(false)),
Step::Copy(path) => format!("Copy {} to {}", &path.from, &path.to),
Step::Shell(command) => format!("Run {}", command),
}