From 352ccfb847dfd290a7b761cd87445a48e551acb5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 20 Aug 2009 17:15:22 +0200 Subject: manpages: more fixes to minuses, hyphens, dashes Debian still carries patches patches to the iptables nroff code touching ASCII minuses, so I thought, what's it this time. Eventually, this patch tries to straighten things once more, per http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Hyphens and http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Dashes . Titles will get the em dash; all typed commands or parameters with a hyphen get a minus (so that man(1) hyperlinking and copy-pasting does work), but other mentions get the hyphen. Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- libipq/ipq_create_handle.3 | 4 ++-- libipq/ipq_errstr.3 | 2 +- libipq/ipq_message_type.3 | 2 +- libipq/ipq_read.3 | 4 ++-- libipq/ipq_set_mode.3 | 4 ++-- libipq/ipq_set_verdict.3 | 4 ++-- libipq/libipq.3 | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'libipq') diff --git a/libipq/ipq_create_handle.3 b/libipq/ipq_create_handle.3 index 78402776..6c0c7964 100644 --- a/libipq/ipq_create_handle.3 +++ b/libipq/ipq_create_handle.3 @@ -20,7 +20,7 @@ .\" .\" .SH NAME -ipq_create_handle, ipq_destroy_handle - create and destroy libipq handles. +ipq_create_handle, ipq_destroy_handle \(em create and destroy libipq handles. .SH SYNOPSIS .B #include .br @@ -65,7 +65,7 @@ On success, .B ipq_destroy_handle returns zero. .br -On failure, -1 is returned. +On failure, \-1 is returned. .SH ERRORS On failure, a descriptive error message will be available via the diff --git a/libipq/ipq_errstr.3 b/libipq/ipq_errstr.3 index 96614694..bcb3ac45 100644 --- a/libipq/ipq_errstr.3 +++ b/libipq/ipq_errstr.3 @@ -20,7 +20,7 @@ .\" .\" .SH NAME -ipq_errstr, ipq_perror - libipq error handling routines +ipq_errstr, ipq_perror \(em libipq error handling routines .SH SYNOPSIS .B #include .br diff --git a/libipq/ipq_message_type.3 b/libipq/ipq_message_type.3 index 0594518f..64b52209 100644 --- a/libipq/ipq_message_type.3 +++ b/libipq/ipq_message_type.3 @@ -20,7 +20,7 @@ .\" .\" .SH NAME -ipq_message_type, ipq_get_packet, ipq_getmsgerr - query queue messages +ipq_message_type, ipq_get_packet, ipq_getmsgerr \(em query queue messages .SH SYNOPSIS .B #include .br diff --git a/libipq/ipq_read.3 b/libipq/ipq_read.3 index 5d967376..171c9169 100644 --- a/libipq/ipq_read.3 +++ b/libipq/ipq_read.3 @@ -20,7 +20,7 @@ .\" .\" .SH NAME -ipq_read - read queue messages from ip_queue and read into supplied buffer +ipq_read \(em read queue messages from ip_queue and read into supplied buffer .SH SYNOPSIS .B #include .br @@ -64,7 +64,7 @@ should not be accessed directly. Use the .BR ipq_get_msgerr functions to access the queue message in the buffer. .SH RETURN VALUE -On failure, -1 is returned. +On failure, \-1 is returned. .br On success, a non-zero positive value is returned when no timeout value is specified. diff --git a/libipq/ipq_set_mode.3 b/libipq/ipq_set_mode.3 index 241581eb..672ee4ed 100644 --- a/libipq/ipq_set_mode.3 +++ b/libipq/ipq_set_mode.3 @@ -20,7 +20,7 @@ .\" .\" .SH NAME -ipq_set_mode - set the ip_queue queuing mode +ipq_set_mode \(em set the ip_queue queuing mode .SH SYNOPSIS .B #include .br @@ -68,7 +68,7 @@ Note that as the underlying Netlink messaging transport is connectionless, the ip_queue module does not know that a userspace application is ready to communicate until it receives a message such as this. .SH RETURN VALUE -On failure, -1 is returned. +On failure, \-1 is returned. .br On success, a non-zero positive value is returned. .SH ERRORS diff --git a/libipq/ipq_set_verdict.3 b/libipq/ipq_set_verdict.3 index 002e9fba..e9d3d3fb 100644 --- a/libipq/ipq_set_verdict.3 +++ b/libipq/ipq_set_verdict.3 @@ -20,7 +20,7 @@ .\" .\" .SH NAME -ipq_set_verdict - issue verdict and optionally modified packet to kernel +ipq_set_verdict \(em issue verdict and optionally modified packet to kernel .SH SYNOPSIS .B #include .br @@ -80,7 +80,7 @@ and NULL for The application is responsible for recalculating any packet checksums when modifying packets. .SH RETURN VALUE -On failure, -1 is returned. +On failure, \-1 is returned. .br On success, a non-zero positive value is returned. .SH ERRORS diff --git a/libipq/libipq.3 b/libipq/libipq.3 index 9dafa4a8..0196248c 100644 --- a/libipq/libipq.3 +++ b/libipq/libipq.3 @@ -20,7 +20,7 @@ .\" .\" .SH NAME -libipq \- iptables userspace packet queuing library. +libipq \(em iptables userspace packet queuing library. .SH SYNOPSIS .B #include .br @@ -51,7 +51,7 @@ running the following commands: .br # modprobe ip_queue .br - # iptables -A OUTPUT -p icmp -j QUEUE + # iptables \-A OUTPUT \-p icmp \-j QUEUE .PP will cause any locally generated ICMP packets (e.g. ping output) to be sent to the ip_queue module, which will then attempt to deliver the -- cgit v1.2.3