File: 02-document-cmdline-options.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 (60 lines) | stat: -rw-r--r-- 1,657 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
From: =?utf-8?q?Gon=C3=A9ri_Le_Bouder?= <goneri@rulezlan.org>
Date: Sat, 16 Mar 2024 16:04:36 +0200
Subject: Document missing options

Bug-Debian: http://bugs.debian.org/438493

-s / --stdin-stdout (hts)
-z / --proxy-authorization-file (htc)
-w / --no-daemon (hts/htc).
---
 htc.1 | 5 ++++-
 hts.1 | 6 ++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/htc.1 b/htc.1
index b141d48..7cdb299 100644
--- a/htc.1
+++ b/htc.1
@@ -42,7 +42,7 @@ always write Content-Length bytes in requests
 .B \-A, \-\-proxy\-authorization USER:PASSWORD
 proxy authorization
 .TP
-.B \-\-proxy\-authorization\-file FILE
+.B \-z, \-\-proxy\-authorization\-file FILE
 proxy authorization file
 .TP
 .B \-B, \-\-proxy\-buffer\-size BYTES
@@ -60,6 +60,9 @@ specify User-Agent value in HTTP requests
 .TP
 .B \-V, \-\-version
 output version information and exit
+.TP
+.B \-w, \-\-no-daemon
+don't fork into the background
 
 .SH AUTHOR
 This manual page was contributed by Teemu Hukkanen <tjhukkan@iki.fi>,
diff --git a/hts.1 b/hts.1
index fe8ff38..605b0d3 100644
--- a/hts.1
+++ b/hts.1
@@ -37,12 +37,18 @@ send keepalive bytes every SECONDS seconds (default is 5)
 .B \-M, \-\-max\-connection\-age SEC
 maximum time a connection will stay open is SEC seconds (default is 300)
 .TP
+.B \-s, \-\-stdin\-stdout
+use stdin/stdout for communication (implies \-\-no\-daemon)
+.TP
 .B \-S, \-\-strict\-content\-length
 always write Content-Length bytes in requests
 .TP
 .B \-V, \-\-version
 output version information and exit
 .TP
+.B \-w, \-\-no-daemon
+don't fork into the background
+.TP
 .B \-p, \-\-pid\-file LOCATION
 write a PID file to LOCATION
 .SH AUTHOR