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/dmeventd.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/dmeventd.8_main')
-rw-r--r-- | man/dmeventd.8_main | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/man/dmeventd.8_main b/man/dmeventd.8_main index 0c1bb81bd..7e3f9a205 100644 --- a/man/dmeventd.8_main +++ b/man/dmeventd.8_main @@ -2,24 +2,24 @@ . .SH NAME . -dmeventd \(em Device\-mapper event daemon +dmeventd \(em Device-mapper event daemon . .SH SYNOPSIS . .B dmeventd -.RB [ \-d -.RB [ \-d -.RB [ \-d ]]] -.RB [ \-f ] -.RB [ \-h ] -.RB [ \-l ] -.RB [ \-R ] -.RB [ \-V ] -.RB [ \-? ] +.RB [ -d +.RB [ -d +.RB [ -d ]]] +.RB [ -f ] +.RB [ -h ] +.RB [ -l ] +.RB [ -R ] +.RB [ -V ] +.RB [ -? ] . .SH DESCRIPTION . -dmeventd is the event monitoring daemon for device\-mapper devices. +dmeventd is the event monitoring daemon for device-mapper devices. Library plugins can register and carry out actions triggered when particular events occur. . @@ -27,46 +27,46 @@ particular events occur. .SH OPTIONS . .HP -.BR \-d +.BR -d .br Repeat from 1 to 3 times ( -.BR \-d , -.BR \-dd , -.BR \-ddd +.BR -d , +.BR -dd , +.BR -ddd ) to increase the detail of debug messages sent to syslog. Each extra d adds more debugging information. . .HP -.BR \-f +.BR -f .br Don't fork, run in the foreground. . .HP -.BR \-h +.BR -h .br Show help information. . .HP -.BR \-l +.BR -l .br Log through stdout and stderr instead of syslog. -This option works only with option \-f, otherwise it is ignored. +This option works only with option -f, otherwise it is ignored. . .HP -.BR \-? +.BR -? .br Show help information on stderr. . .HP -.BR \-R +.BR -R .br Replace a running dmeventd instance. The running dmeventd must be version 2.02.77 or newer. The new dmeventd instance will obtain a list of devices and events to monitor from the currently running daemon. . .HP -.BR \-V +.BR -V .br Show version of dmeventd. . @@ -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 |