File: 03-quote-dashes-in-manpage.patch

package info (click to toggle)
httptunnel 3.3%2Bdfsg-6
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,500 kB
  • sloc: ansic: 4,754; makefile: 26; sh: 4
file content (44 lines) | stat: -rw-r--r-- 1,500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Teemu Hukkanen <tjhukkan@iki.fi>
Date: Sat, 16 Mar 2024 16:04:36 +0200
Subject: Quote dashes in the manpages

Applied-Upstream: commit:43b58e7618f11bf6be496c7ee7ee20ba31314005
---
 htc.1 | 4 ++--
 hts.1 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/htc.1 b/htc.1
index 7cdb299..e34b42a 100644
--- a/htc.1
+++ b/htc.1
@@ -12,10 +12,10 @@ command.
 .B htc
 sets up a httptunnel connection to PORT at HOST (default port is 8888).
 When a connection is made, I/O is redirected from the source specified
-by the --device or --forward-port switch to the tunnel.
+by the \-\-device or \-\-forward\-port switch to the tunnel.
 .SH OPTIONS
 The program follows the usual GNU command line syntax, with long
-options starting with two dashes (`-').
+options starting with two dashes (`\-').
 A summary of options are included below.
 .TP
 .B \-h, \-\-help
diff --git a/hts.1 b/hts.1
index 605b0d3..918eca9 100644
--- a/hts.1
+++ b/hts.1
@@ -13,10 +13,10 @@ command.
 listens for incoming httptunnel connections at PORT (default port is
 8888), and optionally binds to ip address HOST.
 When a connection is made, I/O is redirected to the destination specified
-by the --device or --forward-port switch.
+by the \-\-device or \-\-forward\-port switch.
 .SH OPTIONS
 The program follows the usual GNU command line syntax, with long
-options starting with two dashes (`-').
+options starting with two dashes (`\-').
 A summary of options are included below.
 .TP
 .B \-h, \-\-help