summaryrefslogtreecommitdiff
path: root/src/shared/output-mode.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-20 19:46:37 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-22 16:16:59 +0200
commitbb321ed9a33d6c90e2529db86ffabd913805088a (patch)
tree2632cb4a9847606e890e717319cda99bc9f721ca /src/shared/output-mode.c
parent766cd081525575875dd1291d4de0e65bcb5e1a89 (diff)
journalctl: add output mode where time is shown in seconds since 1st Jan 1970 UTC
aka "UNIX time". Fixes: #2120
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 be6281bd3f..bec53ee0ae 100644
--- a/src/shared/output-mode.c
+++ b/src/shared/output-mode.c
@@ -25,6 +25,7 @@ static const char *const output_mode_table[_OUTPUT_MODE_MAX] = {
[OUTPUT_SHORT_ISO] = "short-iso",
[OUTPUT_SHORT_PRECISE] = "short-precise",
[OUTPUT_SHORT_MONOTONIC] = "short-monotonic",
+ [OUTPUT_SHORT_UNIX] = "short-unix",
[OUTPUT_VERBOSE] = "verbose",
[OUTPUT_EXPORT] = "export",
[OUTPUT_JSON] = "json",