summaryrefslogtreecommitdiffstats
path: root/login-utils/utmpdump.1
diff options
context:
space:
mode:
authorBenno Schulenberg2014-07-16 13:09:51 +0200
committerKarel Zak2014-07-17 14:00:50 +0200
commit1000a59543834fce395d8dd22ce2692fa8fc9970 (patch)
treefd4bee42da9c28a9c5606c8a0ed010604fc7f25e /login-utils/utmpdump.1
parentcfdisk: make code more readable for analyzers [coverity scan] (diff)
downloadkernel-qcow2-util-linux-1000a59543834fce395d8dd22ce2692fa8fc9970.tar.gz
kernel-qcow2-util-linux-1000a59543834fce395d8dd22ce2692fa8fc9970.tar.xz
kernel-qcow2-util-linux-1000a59543834fce395d8dd22ce2692fa8fc9970.zip
docs: improve the formatting and wording of two man pages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'login-utils/utmpdump.1')
-rw-r--r--login-utils/utmpdump.116
1 files changed, 8 insertions, 8 deletions
diff --git a/login-utils/utmpdump.1 b/login-utils/utmpdump.1
index 7a7442a8e..933a3c9a7 100644
--- a/login-utils/utmpdump.1
+++ b/login-utils/utmpdump.1
@@ -1,4 +1,3 @@
-'\" -*- coding: UTF-8 -*-
.\" Copyright (C) 2010 Michael Krapp
.\"
.\" This program is free software; you can redistribute it and/or modify
@@ -19,7 +18,8 @@
.SH NAME
utmpdump \- dump UTMP and WTMP files in raw format
.SH SYNOPSIS
-utmpdump [\-frohV] [ filename ]
+.BR utmpdump " [options]"
+.RI [ filename ]
.SH DESCRIPTION
.B utmpdump
is a simple program to dump UTMP and WTMP files in raw format, so they
@@ -31,10 +31,10 @@ is passed.
.SH OPTIONS
.IP "\fB\-f\fR, \fB\-\-follow\fP"
Output appended data as the file grows.
-.IP "\fB\-r\fR, \fB\-\-reverse\fP
-Undump, write back edited login information into the utmp or wtmp files.
.IP "\fB\-o\fR, \fB\-\-output\fP \fIfile\fR
Write command output to \fIfile\fR instead of standard output.
+.IP "\fB\-r\fR, \fB\-\-reverse\fP
+Undump, write back edited login information into the utmp or wtmp files.
.IP "\fB\-h\fR, \fB\-\-help\fP"
Display help text and exit.
.IP "\fB\-V\fR, \fB\-\-version\fP"
@@ -42,14 +42,14 @@ Display version information and exit.
.SH NOTES
.B utmpdump
can be useful in cases of corrupted utmp or wtmp entries. It can dump
-out utmp/wtmp to an ASCII file, whic can then be edited to remove
-bogus entries and reintegrated, using
+out utmp/wtmp to an ASCII file, which can then be edited to remove
+bogus entries, and reintegrated using:
.PP
.RS
-utmpdump -r < ascii_file > wtmp
+.B utmpdump -r < ascii_file > wtmp
.RE
.PP
-but be warned, as
+But be warned,
.B utmpdump
was written for debugging purposes only.
.SH BUGS