summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-02-06 01:03:20 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-02-11 03:52:04 +0100
commit0ba19daa578112fd6bd39d8b163d506d7815b7b5 (patch)
tree25b695bd4fbac8908b6a4f49f1d6eb0d0228f714
parent90eaeb642af712c6dc556ad8342e6d218c892cc1 (diff)
downloadimag-0ba19daa578112fd6bd39d8b163d506d7815b7b5.zip
imag-0ba19daa578112fd6bd39d8b163d506d7815b7b5.tar.gz
Strip whitespace on the right when printing
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--bin/domain/imag-log/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/domain/imag-log/src/main.rs b/bin/domain/imag-log/src/main.rs
index a96bf5a..2f985e6 100644
--- a/bin/domain/imag-log/src/main.rs
+++ b/bin/domain/imag-log/src/main.rs
@@ -166,7 +166,7 @@ fn show(rt: &Runtime) {
d = id.day(),
H = id.hour(),
M = id.minute(),
- text = entry.get_content())
+ text = entry.get_content().trim_right())
.to_exit_code()?;
let _ = rt