From: Keith Bostic Date: Wed, 9 Mar 1988 13:55:02 +0000 (-0800) Subject: document the -f option X-Git-Tag: BSD-4_3_Net_1-Snapshot-Development~2372 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/4dca6340cc4f49a8571ddc88a80afcc790047d75 document the -f option SCCS-vsn: usr.bin/lastcomm/lastcomm.1 6.3 --- diff --git a/usr/src/usr.bin/lastcomm/lastcomm.1 b/usr/src/usr.bin/lastcomm/lastcomm.1 index 50f8b36e1d..f266bf0796 100644 --- a/usr/src/usr.bin/lastcomm/lastcomm.1 +++ b/usr/src/usr.bin/lastcomm/lastcomm.1 @@ -2,7 +2,7 @@ .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" -.\" @(#)lastcomm.1 6.2 (Berkeley) %G% +.\" @(#)lastcomm.1 6.3 (Berkeley) %G% .\" .TH LASTCOMM 1 "" .UC @@ -10,6 +10,7 @@ lastcomm \- show last commands executed in reverse order .SH SYNOPSIS .B lastcomm +[ -f file ] [ command name ] ... [user name] ... [terminal name] ... .SH DESCRIPTION .I Lastcomm @@ -17,7 +18,9 @@ gives information on previously executed commands. With no arguments, .I lastcomm prints information about all the commands recorded -during the current accounting file's lifetime. +during the current accounting file's lifetime. The \fI-f\fP option +causes \fIlastcomm\fP to read from a file other than the default +accounting file. If called with arguments, only accounting entries with a matching command name, user name, or terminal name are printed.