diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2017-03-27 16:45:48 +0200 |
---|---|---|
committer | Heinz Mauelshagen <heinzm@redhat.com> | 2017-03-27 16:49:39 +0200 |
commit | 36cac41115cca875f5d120631933b5dfb3c3c524 (patch) | |
tree | 17655c869a2acd7e4c1843c1ddbe2541d03e2cd6 /man/lvmlockctl.8_main | |
parent | 6165e092215c795eafa297268cddbd9dade3a82c (diff) | |
download | lvm2-36cac41115cca875f5d120631933b5dfb3c3c524.tar.gz |
man-generator/man/help: simplify hyphen escaping
Commits a29bb6a14b5e920092495fb9a1623e527d22daac
... 5c199d99f4dc9911d62673baba7643ea649ffe64
narrowed down on addressing the escaping of hyphens
in the dynamic creation of manuals whilst avoiding
them in creating help texts. This lead to a sequence
of slipping through hyphens adrressed by additional
patches in aforementioned commit series.
On the other hand, postprocessing dynamically man-generator
created and statically provided manuals catches all hyphens
in need of escaping.
Changes:
- revert the above commits whilst keeping man-generator
streamlining and the detection of any '\' when generating
help texts in order to avoid escapes to slip in
- Dynamically escape hyphens in manaual pages using sed(1)
in the respective Makefile targets
- remove any manually added escaping on hyphens from any
static manual sources or headers
Diffstat (limited to 'man/lvmlockctl.8_main')
-rw-r--r-- | man/lvmlockctl.8_main | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/man/lvmlockctl.8_main b/man/lvmlockctl.8_main index fc18fcb1d..b7ac0ecd6 100644 --- a/man/lvmlockctl.8_main +++ b/man/lvmlockctl.8_main @@ -11,41 +11,41 @@ This command interacts with lvmlockctl [options] -.B \-\-help | \-h +.B --help | -h Show this help information. -.B \-\-quit | \-q +.B --quit | -q Tell lvmlockd to quit. -.B \-\-info | \-i +.B --info | -i Print lock state information from lvmlockd. -.B \-\-dump | \-d +.B --dump | -d Print log buffer from lvmlockd. -.B \-\-wait | \-w 0|1 +.B --wait | -w 0|1 Wait option for other commands. -.B \-\-force | \-f 0|1 +.B --force | -f 0|1 Force option for other commands. -.B \-\-kill | \-k +.B --kill | -k .I vgname Kill access to the VG when sanlock cannot renew lease. -.B \-\-drop | \-r +.B --drop | -r .I vgname Clear locks for the VG when it is unused after kill (-k). -.B \-\-gl\-enable | \-E +.B --gl-enable | -E .I vgname Tell lvmlockd to enable the global lock in a sanlock VG. -.B \-\-gl\-disable | \-D +.B --gl-disable | -D .I vgname Tell lvmlockd to disable the global lock in a sanlock VG. -.B \-\-stop\-lockspaces | \-S +.B --stop-lockspaces | -S Stop all lockspaces. @@ -55,7 +55,7 @@ lvmlockctl [options] This collects and displays lock state from lvmlockd. The display is primitive, incomplete and will change in future version. To print the raw -lock state from lvmlockd, combine this option with \-\-dump|-d. +lock state from lvmlockd, combine this option with --dump|-d. .SS dump @@ -73,28 +73,28 @@ forcibly deactivate the VG. For more, see .SS drop This should only be run after a VG has been successfully deactivated -following an lvmlockctl \-\-kill command. It clears the stale lockspace +following an lvmlockctl --kill command. It clears the stale lockspace from lvmlockd. In the future, this may become automatic along with an -automatic handling of \-\-kill. For more, see +automatic handling of --kill. For more, see .BR lvmlockd (8). -.SS gl\-enable +.SS gl-enable This enables the global lock in a sanlock VG. This is necessary if the VG that previously held the global lock is removed. For more, see .BR lvmlockd (8). -.SS gl\-disable +.SS gl-disable This disables the global lock in a sanlock VG. This is necessary if the global lock has mistakenly been enabled in more than one VG. The global lock should be disabled in all but one sanlock VG. For more, see .BR lvmlockd (8). -.SS stop\-lockspaces +.SS stop-lockspaces This tells lvmlockd to stop all lockspaces. It can be useful to stop -lockspaces for VGs that the vgchange \-\-lock\-stop comand can no longer +lockspaces for VGs that the vgchange --lock-stop comand can no longer see, or to stop the dlm global lockspace which is not directly stopped by the vgchange command. The wait and force options can be used with this command. |