aboutsummaryrefslogtreecommitdiff
path: root/src/output/formats.rs
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-05-12 13:45:06 +0200
committerDaniel <kingdread@gmx.de>2020-05-12 13:45:06 +0200
commitf2f2582d546327be9e0254dea8370a9bb6b749f7 (patch)
tree24b1805f98fb6b955dcb989bb2c362385065b04f /src/output/formats.rs
parent77eccb7359b0962f34459bb0a8d78e6cd15431fd (diff)
downloadraidgrep-f2f2582d546327be9e0254dea8370a9bb6b749f7.tar.gz
raidgrep-f2f2582d546327be9e0254dea8370a9bb6b749f7.tar.bz2
raidgrep-f2f2582d546327be9e0254dea8370a9bb6b749f7.zip
display if a fight had CM activated
Diffstat (limited to 'src/output/formats.rs')
-rw-r--r--src/output/formats.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/formats.rs b/src/output/formats.rs
index 599e804..203502a 100644
--- a/src/output/formats.rs
+++ b/src/output/formats.rs
@@ -36,13 +36,14 @@ impl Format for HumanReadable {
};
writeln!(
result,
- "{}: {} - {}: {} {}",
+ "{}: {} - {}: {}{} {}",
"Date".green(),
item.time
.with_timezone(&Local)
.format("%Y-%m-%d %H:%M:%S %a"),
"Boss".green(),
item.boss_name,
+ if item.is_cm { " CM" } else { "" },
outcome,
)
.unwrap();