From: Ian Wienand Date: Mon, 8 May 2017 00:23:49 +0000 (+1000) Subject: Add short-iso-precise for journalctl output (#5884) X-Git-Tag: chiark/234.4-1+devuan1.1+iwj1~140 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6b1c5e6d152a584896d71a3d9ad4d3f417050045 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. --- 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"