From 4440390ef04b3a74e4c36fe5df07a03da891be88 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Tue, 27 Aug 2013 18:15:00 +0100 Subject: [PATCH] docs: add --time-format to last(1) manual page Signed-off-by: Sami Kerola --- login-utils/last.1 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/login-utils/last.1 b/login-utils/last.1 index 4c4dc02adb..13b46933e8 100644 --- a/login-utils/last.1 +++ b/login-utils/last.1 @@ -105,6 +105,28 @@ similar with .BR \-\-since " and " \-\-until , without printing any other lines than the matching sessions. .TP +\fB\-\-time\-format\fR \fIformat\fR +Define output timestamp +.I format +to be one of the +.IR notime , +.IR short , +.IR full , +or +.IR iso . +.I notime +will not print timestamp at all. +.I short +is default, and +.I full +is same as +.B \-\-fulltimes +option. The +.I iso +will display time stamp in ISO-8601 format. The iso format contains +timezone information making it to be preferrable when print outs are +investigated outside of the system. +.TP \fB\-F\fR, \fB\-\-fulltimes\fR Print full login and logout times and dates. .TP -- 2.47.3