summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_TRACE.man
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2023-10-24 14:58:06 +0200
committerPhil Sutter <phil@nwl.cc>2023-10-27 18:00:30 +0200
commitb7d45c140fde9366a34412dbd318dd7c84bbef14 (patch)
tree45e43ef8d3fb0503d221a90e4f6bdcac17e53071 /extensions/libxt_TRACE.man
parent458e167e9510f995111d32aa7a30b7c7d2af2e75 (diff)
man: encode minushyphen the way groff/man requires it
Sparked by a recent LWN article[1], sweeps over the iptables manpages for incorrectly encoded dashes was made by Phil Sutter and myself. An ASCII minushyphen in the source manpage translates to a hyphen in output, so one has to use the sequence "\-" to get a minushyphen in the output, as groff_char(7) explains. [1] https://lwn.net/Articles/947941/ (paywalled until about 2023-11-06) Signed-off-by: Jan Engelhardt <jengelh@inai.de> Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_TRACE.man')
-rw-r--r--extensions/libxt_TRACE.man4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_TRACE.man b/extensions/libxt_TRACE.man
index 5187a8d2..9cfa2711 100644
--- a/extensions/libxt_TRACE.man
+++ b/extensions/libxt_TRACE.man
@@ -15,6 +15,6 @@ With iptables-nft, the target is translated into nftables'
.B "meta nftrace"
expression. Hence the kernel sends trace events via netlink to userspace where
they may be displayed using
-.B "xtables-monitor --trace"
+.B "xtables\-monitor \-\-trace"
command. For details, refer to
-.BR xtables-monitor (8).
+.BR xtables\-monitor (8).