Skip to contentSkip to conversation

master - man: update man pages

PATCH Zdenek Kabelac 1 participant 1 message Sep 21, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cfe869692f42ee2f4ac0f36c5337e7638ff01c29
Commit:        cfe869692f42ee2f4ac0f36c5337e7638ff01c29
Parent:        a61f3c531650e4473291ff162dd4c9faf5888a39
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Sep 21 22:45:47 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Sep 22 00:08:44 2015 +0200

man: update man pages

Start to use 'italic' when the argument is not a fixed string. Keep 'bold' when user cannot use any other string instead.

---
 man/clvmd.8.in    |   51 ++++++++-------
 man/dmstats.8.in  |    2 +-
 man/lvchange.8.in |  181 ++++++++++++++++++++++++++++-------------------------
 3 files changed, 125 insertions(+), 109 deletions(-)
man/clvmd.8.in +28 -23
index 2c7330b..90de980 100644
@@ -4,19 +4,20 @@ clvmd \(em cluster LVM daemon
 .SH SYNOPSIS
 .B clvmd
 .RB [ \-C ]
-.RB [ \-d [< \fIvalue\fP >]]
+.RB [ \-d
+.RI [ value ]]
 .RB [ \-E
-.RI < "lock uuid" >]
+.IR "lock uuid" ]
 .RB [ \-f ]
 .RB [ \-h ]
 .RB [ \-I
-.IR "cluster_manager" ]
+.IR "cluster manager" ]
 .RB [ \-R ]
 .RB [ \-S ]
 .RB [ \-t
-.RI < timeout >]
+.IR timeout ]
 .RB [ \-T
-.RI < "start timeout" >]
+.IR "start timeout" ]
 .RB [ \-V ]
 .SH DESCRIPTION
 clvmd is the daemon that distributes LVM metadata updates around a cluster.
@@ -24,17 +25,21 @@ It must be running on all nodes in the cluster and will give an error
 if a node in the cluster does not have this daemon running.
 .SH OPTIONS
 .TP
-.BR \-d [< \fIvalue >]
-Set debug logging level.If \fB\-d\fP is specified without a \fIvalue\fP 
+.BR \-d \ [ \fIvalue ]
+Set debug logging level.
+If \fB\-d\fP is specified without a \fIvalue\fP
 then 1 is assumed. \fIValue\fP can be:
-.RS
-.IP \fI0\fP
-Disabled
-.IP \fI1\fP
-Sends debug logs to stderr (implies \fB\-f\fP)
-.IP \fI2\fP
-Sends debug logs to \fBsyslog\fP(3)
-.RE
+.PD 0
+.IP
+.B 0
+\(em Disabled
+.IP
+.B 1
+\(em Sends debug logs to stderr (implies \fB\-f\fP)
+.IP
+.B 2
+\(em Sends debug logs to \fBsyslog\fP(3)
+.PD
 .TP
 .B \-C
 Only valid if
@@ -55,8 +60,8 @@ enable cluster-wide logging then the command needs to be issued twice, eg:
 .B clvmd \-d2
 .br
 .TP
-.BR \-E < "\fIlock uuid" >
-Pass lock uuid to be reacquired exclusively when clvmd is restarted.
+.BR \-E "\fI lock uuid"
+Pass \fIlock uuid\fP to be reacquired exclusively when clvmd is restarted.
 .TP
 .B \-f
 Don't fork, run in the foreground.
@@ -64,13 +69,13 @@ Don't fork, run in the foreground.
 .B \-h
 Show help information.
 .TP
-.BR \-I " \fIcluster_manager\fP"
+.BR \-I "\fI cluster manager"
 Selects the \fIcluster manager\fP to use for locking and internal
 communications. As it is quite possible to have multiple managers available on
 the same system you might have to manually specify this option to override the
 search.
 
-By default, omit \fB-I\fP is equivalent to \fB\-I\fP\fIauto\fP. \fBClvmd\fP
+By default, omit \fB-I\fP is equivalent to \fB\-Iauto\fP. \fBClvmd\fP
 will use the first cluster manager that succeeds, and it checks them in a
 predefined order cman,corosync,openais.
 The available managers will be listed by order as part of the
@@ -88,13 +93,13 @@ any locks in the same state as they were previously held. (Alternative
 methods of restarting the daemon have the side effect of changing
 exclusive LV locks into shared locks.)
 .TP
-.BR \-t < \fItimeout >
+.BR \-t "\fI timeout"
 Specifies the \fItimeout\fP for commands to run around the cluster. This should not
 be so small that commands with many disk updates to do will fail, so you
 may need to increase this on systems with very large disk farms.
 The default is 60 seconds.
 .TP
-.BR \-T < "\fIstart timeout" >
+.BR \-T "\fI start timeout"
 Specifies the \fIstart timeout\fP for \fBclvmd\fP daemon startup. If the
 daemon does not report that it has started up within this time then the parent
 command will exit with status of 5. This does NOT mean that \fBclvmd\fP has
@@ -119,11 +124,11 @@ Display the version of the cluster LVM daemon.
 .TP
 .B LVM_CLVMD_BINARY
 The CLVMD binary to use when \fBclvmd\fP restart is requested.
-Defaults to #CLVMD_PATH#.
+Defaults to \fI#CLVMD_PATH#\fP.
 .TP
 .B LVM_BINARY
 The LVM2 binary to use.
-Defaults to #LVM_PATH#.
+Defaults to \fI#LVM_PATH#\fP.
 
 .SH SEE ALSO
 .BR syslog (3),
man/dmstats.8.in +1 -1
index 21e7685..985f3fd 100644
@@ -9,7 +9,7 @@ dmstats \(em device-mapper statistics management
 .HP
 .PD 0
 .B dmstats
-.RB < command >
+.I command
 .RI [ device_name | \fB\-\-uuid
 .IR uuid | \fB\-\-major
 .I major
man/lvchange.8.in +96 -85

399 lines not on this page · raw message