Skip to contentSkip to conversation

master - man: escape all double '-'

PATCH Heinz Mauelshagen 1 participant 1 message Mar 24, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a29bb6a14b5e920092495fb9a1623e527d22daac
Commit:        a29bb6a14b5e920092495fb9a1623e527d22daac
Parent:        2eaca7ab63345594ccfd7133ddf92729b7e7691c
Author:        Heinz Mauelshagen <[email protected]>
AuthorDate:    Fri Mar 24 01:03:58 2017 +0100
Committer:     Heinz Mauelshagen <[email protected]>
CommitterDate: Fri Mar 24 01:03:58 2017 +0100

man: escape all double '-'

---
 man/Makefile.in             |    6 +-
 man/dmeventd.8_main         |    4 +-
 man/dmstats.8_main          |    2 +-
 man/lvchange.8_pregen       |  364 +++++++++---------
 man/lvconvert.8_end         |    6 +-
 man/lvconvert.8_pregen      |  558 +++++++++++++-------------
 man/lvcreate.8_des          |    6 +-
 man/lvcreate.8_pregen       |  934 +++++++++++++++++++++---------------------
 man/lvdisplay.8_pregen      |  166 ++++----
 man/lvextend.8_des          |    4 +-
 man/lvextend.8_pregen       |  202 +++++-----
 man/lvm-config.8_pregen     |  140 ++++----
 man/lvm-dumpconfig.8_pregen |  140 ++++----
 man/lvm-fullreport.8_pregen |  168 ++++----
 man/lvm-lvpoll.8_end        |   12 +-
 man/lvm-lvpoll.8_pregen     |   86 ++--
 man/lvm.8_main              |    6 +-
 man/lvm.conf.5_main         |    4 +-
 man/lvmcache.7_main         |   42 +-
 man/lvmconfig.8_pregen      |  140 ++++----
 man/lvmdiskscan.8_pregen    |   62 ++--
 man/lvmlockctl.8_main       |    2 +-
 man/lvmlockd.8_main         |    6 +-
 man/lvmraid.7_main          |  338 ++++++++--------
 man/lvmreport.7_main        |  202 +++++-----
 man/lvmsystemid.7_main      |   18 +-
 man/lvmthin.7_main          |  128 +++---
 man/lvreduce.8_des          |    4 +-
 man/lvreduce.8_pregen       |   96 +++---
 man/lvremove.8_pregen       |   84 ++--
 man/lvrename.8_pregen       |   66 ++--
 man/lvresize.8_des          |    4 +-
 man/lvresize.8_pregen       |  180 +++++-----
 man/lvs.8_pregen            |  176 ++++----
 man/lvscan.8_pregen         |   82 ++--
 man/pvchange.8_pregen       |  116 +++---
 man/pvck.8_pregen           |   58 ++--
 man/pvcreate.8_pregen       |  128 +++---
 man/pvdisplay.8_pregen      |  156 ++++----
 man/pvmove.8_pregen         |   92 +++---
 man/pvremove.8_pregen       |   62 ++--
 man/pvresize.8_pregen       |   62 ++--
 man/pvs.8_pregen            |  172 ++++----
 man/pvscan.8_des            |   10 +-
 man/pvscan.8_pregen         |  108 +++---
 man/vgcfgbackup.8_pregen    |   78 ++--
 man/vgcfgrestore.8_pregen   |  106 +++---
 man/vgchange.8_pregen       |  328 ++++++++--------
 man/vgck.8_pregen           |   58 ++--
 man/vgconvert.8_pregen      |   86 ++--
 man/vgcreate.8_pregen       |  152 ++++----
 man/vgdisplay.8_pregen      |  156 ++++----
 man/vgexport.8_pregen       |   72 ++--
 man/vgextend.8_pregen       |  106 +++---
 man/vgimport.8_pregen       |   76 ++--
 man/vgimportclone.8_pregen  |   62 ++--
 man/vgmerge.8_pregen        |   62 ++--
 man/vgmknodes.8_pregen      |   66 ++--
 man/vgreduce.8_pregen       |  116 +++---
 man/vgremove.8_pregen       |   76 ++--
 man/vgrename.8_pregen       |   66 ++--
 man/vgs.8_pregen            |  168 ++++----
 man/vgscan.8_pregen         |   78 ++--
 man/vgsplit.8_pregen        |   90 ++--
 64 files changed, 3702 insertions(+), 3702 deletions(-)
man/Makefile.in +3 -3
index 57d9627..3266f1a 100644
@@ -143,7 +143,7 @@ $(MAN5) $(MAN7) $(MAN8) $(MAN8DM) $(MAN8CLUSTER) $(MAN8SYSTEMD_GENERATORS): Make
 
 # Test whether or not the man page generator works
 $(TESTMAN): $(MANGENERATOR) Makefile
-	- $(MANGENERATOR) --primary lvmconfig > $@
+	- $(MANGENERATOR) \-\-primary lvmconfig > $@
 
 SEE_ALSO=$(srcdir)/see_also.end
 
@@ -162,8 +162,8 @@ SEE_ALSO=$(srcdir)/see_also.end
 		cat $(srcdir)/$(@:%.8_gen=%.8_pregen) ; \
 	    else \
 		MANCMD=$(basename $@) && \
-		$(MANGENERATOR) --primary $$MANCMD $< && \
-		$(MANGENERATOR) --secondary $$MANCMD && \
+		$(MANGENERATOR) \-\-primary $$MANCMD $< && \
+		$(MANGENERATOR) \-\-secondary $$MANCMD && \
 		cat $(srcdir)/$(basename $@).8_end && \
 		cat $(SEE_ALSO) ; \
 	    fi \
man/dmeventd.8_main +2 -2
index 057f756..c3b6954 100644
@@ -106,7 +106,7 @@ of the thin pool is filled. See
 When a thin pool fills over 50% (data or metadata) thin plugin calls
 configured \fIdmeventd/thin_command\fP with every 5% increase.
 With default setting it calls internal
-\fBlvm lvextend --use-policies\fP to resize thin pool
+\fBlvm lvextend \-\-use-policies\fP to resize thin pool
 when it's been filled above configured threshold
 \fIactivation/thin_pool_autoextend_threshold\fP.
 If the command fails, dmeventd thin plugin will keep
@@ -116,7 +116,7 @@ User may also configure external command to support more advanced
 maintenance operations of a thin pool.
 Such external command can e.g. remove some unneeded snapshots,
 use \fBfstrim\fP(8) to free recover space in a thin pool,
-but also can use \fBlvextend --use-policies\fP if other actions
+but also can use \fBlvextend \-\-use-policies\fP if other actions
 have not released enough space.
 Command is executed with environmental variable
 \fBLVM_RUN_BY_DMEVENTD=1\fP so any lvm2 command executed
man/dmstats.8_main +1 -1
index 682f01d..e7e8203 100644
@@ -1247,7 +1247,7 @@ Create regions mapping each file in the directory images/ and place
 them into separate groups, each named after the corresponding file
 .br
 #
-.B dmstats create --filemap images/*
+.B dmstats create \-\-filemap images/*
 .br
 images/vm1.qcow2: Created new group with 87 region(s) as group ID 0.
 .br
man/lvchange.8_pregen +182 -182

1,081 lines not on this page · raw message

man/lvconvert.8_end +3 -3
index a329acd..bbc50a7 100644
@@ -1,7 +1,7 @@
 .SH NOTES
 This previous command syntax would perform two different operations:
 .br
-\fBlvconvert --thinpool\fP \fILV1\fP \fB--poolmetadata\fP \fILV2\fP
+\fBlvconvert \-\-thinpool\fP \fILV1\fP \fB\-\-poolmetadata\fP \fILV2\fP
 .br
 If LV1 was not a thin pool, the command would convert LV1 to
 a thin pool, optionally using a specified LV for metadata.
@@ -11,7 +11,7 @@ the current metadata LV with LV2 (for repair purposes.)
 In the same way, this previous command syntax would perform two different
 operations:
 .br
-\fBlvconvert --cachepool\fP \fILV1\fP \fB--poolmetadata\fP \fILV2\fP
+\fBlvconvert \-\-cachepool\fP \fILV1\fP \fB\-\-poolmetadata\fP \fILV2\fP
 .br
 If LV1 was not a cache pool, the command would convert LV1 to
 a cache pool, optionally using a specified LV for metadata.
@@ -36,7 +36,7 @@ Convert a mirror LV to use a disk log.
 
 Convert a mirror or raid1 LV to a linear LV.
 .br
-.B lvconvert --type linear vg/lvol1
+.B lvconvert \-\-type linear vg/lvol1
 
 Convert a mirror LV to a raid1 LV with the same number of images.
 .br
man/lvconvert.8_pregen +279 -279

1,620 lines not on this page · raw message

man/lvcreate.8_des +3 -3
index 42f4213..a526b85 100644
@@ -26,11 +26,11 @@ virtual size rather than a physical size. A cache LV is the combination of
 a standard LV with a cache pool, used to cache active portions of the LV
 to improve performance.
 .SS Usage notes
-In the usage section below, \fB--size\fP \fISize\fP can be replaced
-with \fB--extents\fP \fINumber\fP.  See both descriptions
+In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced
+with \fB\-\-extents\fP \fINumber\fP.  See both descriptions
 the options section.
 
-In the usage section below, \fB--name\fP is omitted from the required
+In the usage section below, \fB\-\-name\fP is omitted from the required
 options, even though it is typically used.  When the name is not
 specified, a new LV name is generated with the "lvol" prefix and a unique
 numeric suffix.  Also see the description in the options section.
man/lvcreate.8_pregen +467 -467

219 lines not on this page · raw message

man/lvdisplay.8_pregen +83 -83

166 lines not on this page · raw message

man/lvextend.8_des +2 -2
index 4c0575d..f1e02d6 100644

Lines of this file are not shown. View the raw message.

man/lvextend.8_pregen +101 -101

202 lines not on this page · raw message

man/lvm-config.8_pregen +70 -70

140 lines not on this page · raw message

man/lvm-dumpconfig.8_pregen +70 -70

140 lines not on this page · raw message

man/lvm-fullreport.8_pregen +84 -84

168 lines not on this page · raw message

man/lvm-lvpoll.8_end +6 -6
index d38dfd0..efd0f18 100644

Lines of this file are not shown. View the raw message.

man/lvm-lvpoll.8_pregen +43 -43

86 lines not on this page · raw message

man/lvm.8_main +3 -3
index dd60da0..aa80d05 100644

Lines of this file are not shown. View the raw message.

man/lvm.conf.5_main +2 -2
index ae884be..d21cf71 100644

Lines of this file are not shown. View the raw message.

man/lvmcache.7_main +21 -21

42 lines not on this page · raw message

man/lvmconfig.8_pregen +70 -70

140 lines not on this page · raw message

man/lvmdiskscan.8_pregen +31 -31

62 lines not on this page · raw message

man/lvmlockctl.8_main +1 -1
index 5465642..fc18fcb 100644

Lines of this file are not shown. View the raw message.

man/lvmlockd.8_main +3 -3
index 6e9b703..bca8ecd 100644

Lines of this file are not shown. View the raw message.

man/lvmraid.7_main +169 -169

338 lines not on this page · raw message

man/lvmreport.7_main +101 -101

202 lines not on this page · raw message

man/lvmsystemid.7_main +9 -9
index 3aea996..6e59bb3 100644

Lines of this file are not shown. View the raw message.

man/lvmthin.7_main +64 -64

128 lines not on this page · raw message

man/lvreduce.8_des +2 -2
index 487954d..d9e840e 100644

Lines of this file are not shown. View the raw message.

man/lvreduce.8_pregen +48 -48

96 lines not on this page · raw message

man/lvremove.8_pregen +42 -42

84 lines not on this page · raw message

man/lvrename.8_pregen +33 -33

66 lines not on this page · raw message

man/lvresize.8_des +2 -2
index dcc42aa..4e80281 100644

Lines of this file are not shown. View the raw message.

man/lvresize.8_pregen +90 -90

180 lines not on this page · raw message

man/lvs.8_pregen +88 -88

176 lines not on this page · raw message

man/lvscan.8_pregen +41 -41

82 lines not on this page · raw message

man/pvchange.8_pregen +58 -58

116 lines not on this page · raw message

man/pvck.8_pregen +29 -29

58 lines not on this page · raw message

man/pvcreate.8_pregen +64 -64

128 lines not on this page · raw message

man/pvdisplay.8_pregen +78 -78

156 lines not on this page · raw message

man/pvmove.8_pregen +46 -46

92 lines not on this page · raw message

man/pvremove.8_pregen +31 -31

62 lines not on this page · raw message

man/pvresize.8_pregen +31 -31

62 lines not on this page · raw message

man/pvs.8_pregen +86 -86

172 lines not on this page · raw message

man/pvscan.8_des +5 -5
index 1a24a3d..14551ce 100644

Lines of this file are not shown. View the raw message.

man/pvscan.8_pregen +54 -54

108 lines not on this page · raw message

man/vgcfgbackup.8_pregen +39 -39

78 lines not on this page · raw message

man/vgcfgrestore.8_pregen +53 -53

106 lines not on this page · raw message

man/vgchange.8_pregen +164 -164

328 lines not on this page · raw message

man/vgck.8_pregen +29 -29

58 lines not on this page · raw message

man/vgconvert.8_pregen +43 -43

86 lines not on this page · raw message

man/vgcreate.8_pregen +76 -76

152 lines not on this page · raw message

man/vgdisplay.8_pregen +78 -78

156 lines not on this page · raw message

man/vgexport.8_pregen +36 -36

72 lines not on this page · raw message

man/vgextend.8_pregen +53 -53

106 lines not on this page · raw message

man/vgimport.8_pregen +38 -38

76 lines not on this page · raw message

man/vgimportclone.8_pregen +31 -31

62 lines not on this page · raw message

man/vgmerge.8_pregen +31 -31

62 lines not on this page · raw message

man/vgmknodes.8_pregen +33 -33

66 lines not on this page · raw message

man/vgreduce.8_pregen +58 -58

116 lines not on this page · raw message

man/vgremove.8_pregen +38 -38

76 lines not on this page · raw message

man/vgrename.8_pregen +33 -33

66 lines not on this page · raw message

man/vgs.8_pregen +84 -84

168 lines not on this page · raw message

man/vgscan.8_pregen +39 -39

78 lines not on this page · raw message

man/vgsplit.8_pregen +45 -45

90 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.