From 6b1c5e6d152a584896d71a3d9ad4d3f417050045 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 8 May 2017 10:23:49 +1000 Subject: [PATCH] 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. --- src/login/loginctl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/login/loginctl.c b/src/login/loginctl.c index ff132b386..9ff1b781d 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -1411,8 +1411,10 @@ static int help(int argc, char *argv[], void *userdata) { " -s --signal=SIGNAL Which signal to send\n" #if 0 /// UNNEEDED by elogind " -n --lines=INTEGER Number of journal entries to show\n" - " -o --output=STRING Change journal output mode (short, short-monotonic,\n" - " verbose, export, json, json-pretty, json-sse, cat)\n\n" + " -o --output=STRING Change journal output mode (short, short-precise,\n" + " short-iso, short-iso-precise, short-full,\n" + " short-monotonic, short-unix, verbose, export,\n" + " json, json-pretty, json-sse, cat)\n" #else /// elogind can cancel shutdowns and allows to ignore inhibitors " -c Cancel a pending shutdown or reboot\n" -- 2.30.2