summaryrefslogtreecommitdiffstats
path: root/usr.bin/last/last.1
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2002-03-01 21:12:19 +0000
committeriedowse <iedowse@FreeBSD.org>2002-03-01 21:12:19 +0000
commit1090c48a394abcf2cce634967b761df386323cf1 (patch)
tree57d055b57007cb561106a68993b615d59aaafaa9 /usr.bin/last/last.1
parent5a6428cea6f4a4d6872e985d0e1411bd4ad7724f (diff)
downloadFreeBSD-src-1090c48a394abcf2cce634967b761df386323cf1.zip
FreeBSD-src-1090c48a394abcf2cce634967b761df386323cf1.tar.gz
Add a new "-y" flag which causes the year to be included in the
session start time. This is useful when looking at old or long-running wtmp files. PR: bin/12982 Obtained from: KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>, keramida Reviewed by: keramida MFC after: 1 week
Diffstat (limited to 'usr.bin/last/last.1')
-rw-r--r--usr.bin/last/last.15
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/last/last.1 b/usr.bin/last/last.1
index fcdb141..c1f68dc 100644
--- a/usr.bin/last/last.1
+++ b/usr.bin/last/last.1
@@ -32,7 +32,7 @@
.\" @(#)last.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd May 2, 2001
+.Dd March 1, 2002
.Dt LAST 1
.Os
.Sh NAME
@@ -41,6 +41,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl Ns Ar n
+.Op Fl y
.Oo
.Fl d
.Sm off
@@ -161,6 +162,8 @@ equivalent to
.It Fl w
Widen the duration field to show seconds, as well as the
default days, hours and minutes.
+.It Fl y
+Report the year in the session start time.
.El
.Pp
If multiple arguments are given,
OpenPOWER on IntegriCloud