summaryrefslogtreecommitdiff
path: root/usr.bin/last/last.1
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1998-03-10 00:50:41 +0000
committerJason Downs <downsj@cvs.openbsd.org>1998-03-10 00:50:41 +0000
commitf6cfc151c4343aff46cafdaa8be2c4f7f0703312 (patch)
treedb4a3d6135badbd2ccad33e562e0444d856d151b /usr.bin/last/last.1
parent9264caaac2a15f8cac5b5ac0483381425929e23b (diff)
Add -c (for humans) and -s (for machines).
Diffstat (limited to 'usr.bin/last/last.1')
-rw-r--r--usr.bin/last/last.18
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/last/last.1 b/usr.bin/last/last.1
index ca57c409c5e..c85fed062e2 100644
--- a/usr.bin/last/last.1
+++ b/usr.bin/last/last.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: last.1,v 1.5 1997/08/21 05:46:56 deraadt Exp $
+.\" $OpenBSD: last.1,v 1.6 1998/03/10 00:50:39 downsj Exp $
.\" $NetBSD: last.1,v 1.3 1994/12/21 22:41:23 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -42,7 +42,9 @@
.Nd indicate last logins of users and ttys
.Sh SYNOPSIS
.Nm last
+.Op Fl Ns Ar c
.Op Fl Ns Ar n
+.Op Fl Ns Ar s
.Op Fl Ns Ar T
.Op Fl f Ar file
.Op Fl h Ar host
@@ -67,6 +69,8 @@ a crash or shutdown,
will so indicate.
.Pp
.Bl -tag -width indent-two
+.It Fl c
+Calculates the total time displayed and prints it after the output.
.It Fl f Ar file
.Nm Last
reads the file
@@ -77,6 +81,8 @@ instead of the default,
Limits the report to
.Ar n
lines.
+.It Fl Ar s
+Display time values in seconds since the epoch, instead of formated dates.
.It Fl t Ar tty
Specify the
.Ar tty .