aboutsummaryrefslogtreecommitdiff
path: root/src/output/formats.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/formats.rs')
-rw-r--r--src/output/formats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/formats.rs b/src/output/formats.rs
index 203502a..e7008ee 100644
--- a/src/output/formats.rs
+++ b/src/output/formats.rs
@@ -42,7 +42,7 @@ impl Format for HumanReadable {
.with_timezone(&Local)
.format("%Y-%m-%d %H:%M:%S %a"),
"Boss".green(),
- item.boss_name,
+ item.boss.map(|x| x.to_string()).unwrap_or_else(|| "unknown".into()),
if item.is_cm { " CM" } else { "" },
outcome,
)