From c372860ddb4a768f7f6c50cd26d60119370d5cd5 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 20 Jul 2014 23:15:47 +0200 Subject: docs: bring eight more man pages closer to standard formatting Also, for chcpu, the options -c, -d, -e and -g are mutually exclusive, and for the mode argument the option -p is not optional. For ldattach, use the standard options separator ", " instead of the unusual " | ". And add the missing --version to several of the pages. Besides, improve the wording and the consistency of the spacing. Signed-off-by: Benno Schulenberg --- sys-utils/wdctl.8 | 51 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 21 deletions(-) (limited to 'sys-utils/wdctl.8') diff --git a/sys-utils/wdctl.8 b/sys-utils/wdctl.8 index 61ba5c30d..c2a428271 100644 --- a/sys-utils/wdctl.8 +++ b/sys-utils/wdctl.8 @@ -1,49 +1,58 @@ .\" wdctl.8 -- .\" Copyright (C) 2012 Karel Zak .\" May be distributed under the GNU General Public License -.TH WDCTL "8" "June 2012" "util-linux" "System Administration" +.TH WDCTL "8" "July 2014" "util-linux" "System Administration" .SH NAME -wdctl \- -show hardware watchdog status +wdctl \- show hardware watchdog status .SH SYNOPSIS .B wdctl -.RB [options] -.RB [device...] +[options] +.RI [ device ...] .SH DESCRIPTION Show hardware watchdog status. The default device is .IR /dev/watchdog . If more than one device is specified then the output is separated by one blank line. .PP -Note that number of supported watchdog features is hardware specific. +Note that the number of supported watchdog features is hardware specific. .SH OPTIONS -.IP "\fB\-f\fR, \fB\-\-flags \fIlist\fP" -Print selected flags only. -.IP "\fB\-F\fR, \fB\-\-noflags\fP" +.TP +.BR \-f , " \-\-flags " \fIlist +Print only the specified flags. +.TP +.BR \-F , " \-\-noflags" Do not print information about flags. -.IP "\fB\-n\fR, \fB\-\-noheadings\fP" -Do not print a header line for flags table. -.IP "\fB\-I\fR, \fB\-\-noident\fP" +.TP +.BR \-I , " \-\-noident" Do not print watchdog identity information. -.IP "\fB\-T\fR, \fB\-\-notimeouts\fP" -Do not print watchdog timeouts. -.IP "\fB\-s\fR, \fB\-\-settimeout \fIseconds\fP" -Set the watchdog timeout in seconds. +.TP +.BR \-n , " \-\-noheadings" +Do not print a header line for flags table. .IP "\fB\-o\fR, \fB\-\-output \fIlist\fP" Define the output columns to use in table of watchdog flags. If no output arrangement is specified, then a default set is used. Use .B \-\-help to get list of all supported columns. -.IP "\fB\-O\fR, \fB\-\-oneline\fP" +.TP +.BR \-O , " \-\-oneline" Print all wanted information on one line in key="value" output format. -.IP "\fB\-r\fR, \fB\-\-raw\fP" +.TP +.BR \-r , " \-\-raw" Use the raw output format. +.TP +.BR \-s , " \-settimeout " \fIseconds +Set the watchdog timeout in seconds. +.TP +.BR \-T , " \-\-notimeouts" +Do not print watchdog timeouts. .IP "\fB\-x\fR, \fB\-\-flags-only\fP" Same as \fB\-I \-T\fP. -.IP "\fB\-h\fR, \fB\-\-help\fP" -Display help text and exit. -.IP "\fB\-V\fR, \fB\-\-version\fP" +.TP +.BR \-V , " \-\-version" Display version information and exit. +.TP +.BR \-h , " \-\-help" +Display help text and exit. .SH AUTHORS .MT kzak@\:redhat\:.com Karel Zak -- cgit v1.2.3-55-g7522