summaryrefslogtreecommitdiffstats
path: root/src/shared/output-mode.c
diff options
context:
space:
mode:
authorIan Wienand <ian@wienand.org>2017-05-08 02:23:49 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-05-08 02:23:49 +0200
commit7e563bfc973723ac93548afbbee52063d285c09a (patch)
tree4c8faa08f8086f48a4b64b031d9e82dbe4bddf2f /src/shared/output-mode.c
parentMerge pull request #5901 from keszybz/mkosi-meson (diff)
downloadsystemd-7e563bfc973723ac93548afbbee52063d285c09a.tar.xz
systemd-7e563bfc973723ac93548afbbee52063d285c09a.zip
Add short-iso-precise for journalctl output (#5884)
This adds a short-iso-precise option for journalctl output. It is similar to short-iso, but includes microseconds.
Diffstat (limited to 'src/shared/output-mode.c')
-rw-r--r--src/shared/output-mode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/output-mode.c b/src/shared/output-mode.c
index 67d8208ad2..29dcba9f6b 100644
--- a/src/shared/output-mode.c
+++ b/src/shared/output-mode.c
@@ -24,6 +24,7 @@ static const char *const output_mode_table[_OUTPUT_MODE_MAX] = {
[OUTPUT_SHORT] = "short",
[OUTPUT_SHORT_FULL] = "short-full",
[OUTPUT_SHORT_ISO] = "short-iso",
+ [OUTPUT_SHORT_ISO_PRECISE] = "short-iso-precise",
[OUTPUT_SHORT_PRECISE] = "short-precise",
[OUTPUT_SHORT_MONOTONIC] = "short-monotonic",
[OUTPUT_SHORT_UNIX] = "short-unix",