diff options
-rw-r--r-- | bbot/diagnostics.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/bbot/diagnostics.cxx b/bbot/diagnostics.cxx index d528221..5954ad1 100644 --- a/bbot/diagnostics.cxx +++ b/bbot/diagnostics.cxx @@ -51,9 +51,10 @@ namespace bbot const fail_end endf; - // Right arrow followed by newline. + // We used the right arrow Unicode character to signal line continuation. + // It only looked cute when displayed properly. // - const char systemd_indent[] = "\xE2\x86\xB2\n"; + const char systemd_indent[] = " \\\n"; void systemd_diagnostics (bool with_critical) @@ -65,9 +66,11 @@ namespace bbot info.indent_ = text.indent_ = systemd_indent; - fail.type_ = with_critical ? "<2>" : "<3>"; - error.type_ = "<3>"; - warn.type_ = "<4>"; + // We don't always see colorized output so keep 'error: ', etc. + // + fail.type_ = with_critical ? "<2>error: " : "<3>error: "; + error.type_ = "<3>error: "; + warn.type_ = "<4>warning: "; info.type_ = "<6>"; trace_type = "<7>"; } |