]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: tweak wording and formatting of last man page
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 12 Oct 2013 19:49:42 +0000 (21:49 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Oct 2013 12:55:22 +0000 (14:55 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
login-utils/last.1

index 8eb5b82f9ddd4ee5a7f205da3b860adbbb4b2df2..de818105d4ce003b1a2082f71baedd73a49b008a 100644 (file)
@@ -20,13 +20,13 @@ last, lastb \- show listing of last logged in users
 .SH SYNOPSIS
 .B last
 .RI [ options ]
-.RI [ username... ]
-.RI [ tty... ]
+.RI [ username ...]
+.RI [ tty ...]
 .br
 .B lastb
 .RI [ options ]
-.RI [ username... ]
-.RI [ tty... ]
+.RI [ username ...]
+.RI [ tty ...]
 .SH DESCRIPTION
 .B last
 searches back through the file
@@ -34,22 +34,18 @@ searches back through the file
 (or the file designated by the
 .B \-f
 option) and displays a list of all users logged in (and out) since that
-file was created.
-.I Names
-of users and
-.IR tty 's
+file was created.  One or more
+.IR usernames " and/or " ttys
 can be given, in which case
 .B last
-will show only those entries matching the arguments.  Names of
+will show only the entries matching those arguments.  Names of
 .I ttys
 can be abbreviated, thus
 .B last 0
 is the same as
 .BR "last tty0" .
 .PP
-When
-.B last
-catches a \s-2SIGINT\s0 signal (generated by the interrupt key, usually
+When catching a \s-2SIGINT\s0 signal (generated by the interrupt key, usually
 control-C) or a \s-2SIGQUIT\s0 signal,
 .B last
 will show how far it has searched through the file; in the case of the
@@ -74,11 +70,11 @@ which contains all the bad login attempts.
 \fB\-f\fR, \fB\-\-file\fR \fIfile\fR
 Tell
 .B last
-to use a specific file instead of
+to use a specific \fIfile\fR instead of
 .BR /var/log/wtmp .
 The
-.BI \-\-file " file"
-can be specified multiple times, and all of the defined files will be
+.B \-\-file
+option can be given multiple times, and all of the specified files will be
 processed.
 .TP
 \fB\-\fInumber\fR
@@ -100,10 +96,10 @@ Display the state of logins until the specified
 .IR time .
 .TP
 \fB\-p\fR, \fB\-\-present\fR \fItime\fR
-Display users who were present at the specified time.  This option is
-similar with
-.BR \-\-since " and " \-\-until ,
-without printing any other lines than the matching sessions.
+Display the users who were present at the specified time.  This is
+like using the options
+.BR \-\-since " and " \-\-until
+together with the same \fItime\fR.
 .TP
 \fB\-\-time\-format\fR \fIformat\fR
 Define output timestamp
@@ -155,9 +151,9 @@ Display full user and domain names in the output.
 \fB\-x\fR, \fB\-\-system\fR
 Display the system shutdown entries and run level changes.
 .SH TIME FORMATS
-The options that take
+The options that take the
 .I time
-argument will understand the following formats:
+argument understand the following formats:
 .TS
 left l2 l.
 YYYYMMDDhhmmss