File: hyphen-used-as-minus-sign.patch

package info (click to toggle)
gitso 0.6.2%2Bsvn158%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,820 kB
  • ctags: 143
  • sloc: python: 806; sh: 279; makefile: 15
file content (92 lines) | stat: -rw-r--r-- 2,123 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Description: convert hypens to minus in manpage
 "By default, "-" chars are interpreted as hyphens (U+2010) by groff, not as
 minus signs (U+002D). Since options to programs use minus signs (U+002D), this
 means for example in UTF-8 locales that you cannot cut and paste options, nor
 search for them easily."
Author: Florian Schlichting <fsfs@debian.org>

--- a/arch/linux/gitso.1
+++ b/arch/linux/gitso.1
@@ -4,64 +4,64 @@
 .SH SYNOPSIS
 .B gitso
 [
-.B --dev
+.B \-\-dev
 |
-.B --listen
+.B \-\-listen
 |
-.B --connect
+.B \-\-connect
 .I host
 |
-.B --list
+.B \-\-list
 .I list
 |
-.B --low-colors
+.B \-\-low\-colors
 |
-.B --version
+.B \-\-version
 |
-.B --help
+.B \-\-help
 ]
 .SH DESCRIPTION
 Gitso is a frontend to reverse VNC connections. It is meant to be a simple two-step process that connects one person to another's screen in the context of giving technical support.
 .SH OPTIONS
 .TP
-.B --dev
+.B \-\-dev
 Configures paths for running Gitso in the source tree.
 .TP
-.B --listen
+.B \-\-listen
 Start Gitso and listen for incoming connections
 .TP
-.B --connect
+.B \-\-connect
 Starts gitso and automatically connects to
 .I host
 which is an IP or domain name (address of support giver).
 .TP
-.B --list
+.B \-\-list
 Alternative support list, where
 .I list 
 is either a URL of a remote file or path to local file.
 .TP
-.B --low-colors
+.B \-\-low\-colors
 Use 8bit colors (for slow connections).
 .TP
-.B --version
+.B \-\-version
 The current Gitso version.
 .TP
-.B --help
+.B \-\-help
 Display the help menu.
 
 .SH HOST FILES
-.I $HOME/.gitso-hosts
+.I $HOME/.gitso\-hosts
 .I /usr/share/gitso/hosts.txt
 
 .SH EXAMPLES
 .TP
-gitso --list http://support.mydomain.com/techs.txt
+gitso \-\-list http://support.mydomain.com/techs.txt
 Gets the list of technician IP's or DN's from techs.txt
 .TP
-gitso --list sanda.mydomain.com,aicha.mydomain.com
+gitso \-\-list sanda.mydomain.com,aicha.mydomain.com
 Adds these three entries to the list of support techs.
 .TP
-gitso --connect hank.mydomain.com
+gitso \-\-connect hank.mydomain.com
 Automatically connects to hank.mydomain.com
 
 .SH SEE ALSO