Skip to contentSkip to conversation

master - man: updates

PATCH Zdenek Kabelac 1 participant 1 message Mar 10, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=386208e5933ea40792c402bce17f3ff106aa3353
Commit:        386208e5933ea40792c402bce17f3ff106aa3353
Parent:        86a23b2145e4abde3086a22ceb15438515b0053d
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Mar 3 20:27:09 2016 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Mar 10 18:38:54 2016 +0100

man: updates

Continuing with lvconvert style updates.

Minimize usage of '\:' as zero-width break space, since html renderers do not handle this groff sign well (some of them seems to even render ':' there).
But since we do not want see badly rendered man pages itself, prefer the 'man visual' appearence over html page generation (man2html should be actually fixed).

Start to use 'user input option' with Capitals more consistently.

---
 WHATS_NEW          |    1 +
 man/lvconvert.8.in |   71 +++++++++++++++++++++++++--------------------------
 man/lvcreate.8.in  |   26 +++++++++---------
 man/lvmconfig.8.in |   25 +++++++++---------
 4 files changed, 61 insertions(+), 62 deletions(-)
WHATS_NEW +1 -0
index d348cbc..685cdad 100644
@@ -1,5 +1,6 @@
 Version 2.02.146 - 
 =================================
+  More man page cleanups in lvconvert.
   Fix makefile vpath in /udev when generating udev rules files.
   Another attempt to improve VG name parsing for lvconvert (2.02.144).
   Use new cache status info and skip flushing for failed cache.
man/lvconvert.8.in +35 -36

155 lines not on this page · raw message

man/lvcreate.8.in +13 -13
index 2ce39dd..f6bb14f 100644
@@ -31,11 +31,11 @@ lvcreate \- create a logical volume in an existing volume group
 .RB [ \-\-cachemode
 .RB { passthrough | writeback | writethrough }]
 .RB [ \-\-cachepolicy
-.IR policy ]
+.IR Policy ]
 .RB \%[ \-\-cachepool
 .IR CachePoolLogicalVolume ]
 .RB [ \-\-cachesettings
-.IR key \fB= value ]
+.IR Key \fB= Value ]
 .RB [ \-c | \-\-chunksize
 .IR ChunkSize ]
 .RB [ \-\-commandprofile
@@ -60,9 +60,9 @@ lvcreate \- create a logical volume in an existing volume group
 .RB [ \-K | \-\-ignoreactivationskip ]
 .RB [ \-\-ignoremonitoring ]
 .RB [ \-\-minor
-.IR minor
+.IR Minor
 .RB [ \-j | \-\-major
-.IR major ]]
+.IR Major ]]
 .RB [ \-\-metadataprofile
 .IR Profile\%Name ]
 .RB [ \-m | \-\-mirrors
@@ -109,10 +109,10 @@ lvcreate \- create a logical volume in an existing volume group
 .RB { y | n }]
 .RB [ \-Z | \-\-zero
 .RB { y | n }]
-.RI [ VolumeGroup \c
-.RB [ / \c
-.RI { ExternalOrigin | Origin | Pool } LogicalVolumeName
-.RI [ PhysicalVolumePath [ \fB: \fIPE \fR[ \fB\- PE ]]...]]
+.RI [ VolumeGroup
+.RI |
+.RI \%{ ExternalOrigin | Origin | Pool } LogicalVolume
+.RI \%[ PhysicalVolumePath [ \fB: \fIPE \fR[ \fB\- PE ]]...]]
 .LP
 .B lvcreate
 .RB [ \-l | \-\-extents
@@ -132,7 +132,7 @@ lvcreate \- create a logical volume in an existing volume group
 .RB \%[ \-\-monitor
 .RB { y | n }]
 .RB [ \-n | \-\-name
-.IR SnapshotLogicalVolume ]
+.IR SnapshotLogicalVolumeName ]
 .BR \-s | \-\-snapshot | \-H | \-\-cache
 .RI \%{[ VolumeGroup \fB/\fP] OriginalLogicalVolume
 .RB \%[ \-V | \-\-virtualsize
@@ -223,7 +223,7 @@ cache pool LV.
 .
 .HP
 .BR \-\-cachepolicy
-.IR policy
+.IR Policy
 .br
 Only applicable to cached LVs; see also \fBlvmcache(7)\fP. Sets
 the cache policy. \fBmq\fP is the basic policy name. \fBsmq\fP is more advanced
@@ -238,7 +238,7 @@ is to append name to Volume group name argument.
 .
 .HP
 .BR \-\-cachesettings
-.IB key = value
+.IB Key = Value
 .br
 Only applicable to cached LVs; see also \fBlvmcache(7)\fP. Sets
 the cache tunable settings. In most use-cases, default values should be adequate.
@@ -336,7 +336,7 @@ to be allocated (including extents used by any mirrors, for example).
 .
 .HP
 .BR \-j | \-\-major
-.IR major
+.IR Major
 .br
 Sets the major number.
 Major numbers are not supported with pool volumes.
@@ -356,7 +356,7 @@ See \fBlvm.conf\fP(5) for more information about \fBmetadata profiles\fP.
 .
 .HP
 .BR \-\-minor
-.IR minor
+.IR Minor
 .br
 Sets the minor number.
 Minor numbers are not supported with pool volumes.
man/lvmconfig.8.in +12 -13
index 9a3fcab..257029e 100644
@@ -6,15 +6,14 @@ lvmconfig, lvm dumpconfig, lvm config \(em Display LVM configuration
 .ad l
 .B lvmconfig
 .RB [ \-f | \-\-file
-.IR filename ]
+.IR Filename ]
 .RB [ \-\-type
-.RB { current |\: default |\: diff |\: full | list |\: missing \c
-.RB |\: new |\: profilable |\: profilable-command \c
-.RB |\: profilable-metadata }]
+.RB { current | default | diff | full |\: list | missing | new \c
+.RB | profilable | profilable-command | profilable-metadata }]
 .RB [ \-\-atversion
-.IR version ]
+.IR Version ]
 .RB [ \-\-sinceversion
-.IR version ]
+.IR Version ]
 .RB [ \-\-ignoreadvanced ]
 .RB [ \-\-ignoreunsupported ]
 .RB [ \-\-ignorelocal ]
@@ -45,7 +44,7 @@ The command was added in release 2.02.119 and has an identical longer form
 
 .SH OPTIONS
 .TP
-.BR \-f ", " \-\-file " \fIfilename"
+.BR \-f ", " \-\-file " \fIFilename"
 Send output to a file named 'filename'.
 
 .TP
@@ -54,7 +53,7 @@ List configuration settings with summarizing comment. This is the same as using
 \fBlvmconfig --type list --withsummary\fP.
 
 .TP
-.BR \-\-type " {" current | default | diff | full | missing | new | profilable | profilable-command | profilable-metadata }
+.BR \-\-type " {" current | default | diff | full | missing | new | profilable |\: profilable-command | profilable-metadata }
 Select the type of configuration to display. The configuration settings
 displayed have either default values or currently-used values assigned based on
 the type selected. If no type is selected, \fB\-\-type current\fP is used
@@ -106,7 +105,7 @@ by \fB\-\-type profilable\fP.
 .RE
 
 .TP
-.BI \-\-atversion " version"
+.BI \-\-atversion " Version"
 Specify an LVM version in x.y.z format where x is the major version,
 the y is the minor version and z is the patchlevel (e.g. 2.2.106).
 When configuration is displayed, the configuration settings recognized
@@ -116,7 +115,7 @@ which does not contain any newer settings for which LVM would
 issue a warning message when checking the configuration.
 
 .TP
-.BI \-\-sinceversion " version"
+.BI \-\-sinceversion " Version"
 Specify an LVM version in x.y.z format where x is the major version,
 the y is the minor version and z is the patchlevel (e.g. 2.2.106).
 This option is currently applicable only with \fB\-\-type new\fP
@@ -140,13 +139,13 @@ Ignore local section.
 
 .TP
 .BI \-\-config " ConfigurationString"
-Use \fBConfigurationString\fP to override existing configuration.
+Use \fIConfigurationString\fP to override existing configuration.
 This configuration is then applied for the lvmconfig command itself.
 See also \fBlvm.conf\fP(5) for more info about \fBconfig cascade\fP.
 
 .TP
 .BI \-\-commandprofile " ProfileName"
-Use \fBProfileName\fP to override existing configuration.
+Use \fIProfileName\fP to override existing configuration.
 This configuration is then applied for the lvmconfig command itself.
 See also \fB\-\-mergedconfig\fP option and \fBlvm.conf\fP(5) for
 more info about \fBconfig cascade\fP.
@@ -158,7 +157,7 @@ applied for the lvmconfig command itself.
 
 .TP
 .BI \-\-metadataprofile " ProfileName"
-Use \fBProfileName\fP to override existing configuration.
+Use \fIProfileName\fP to override existing configuration.
 The configuration defined in metadata profile has no effect for
 the lvmconfig command itself. lvmconfig displays the configuration only.
 See also \fB\-\-mergedconfig\fP option and \fBlvm.conf\fP(5) for more