File: 02-arg-req-space.patch

package info (click to toggle)
docbook-to-man 1%3A2.0.0-32
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,332 kB
  • ctags: 868
  • sloc: ansic: 5,819; sh: 1,371; makefile: 158
file content (26 lines) | stat: -rwxr-xr-x 609 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
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02-arg-req-space.dpatch by Philipp Benner <mail@philipp-benner.de>
##
## DP: Inserts missing space after required arguments in section synopsis.
## DP: (Closes: #375951)

@DPATCH@

---
 Transpec/docbook-to-man.ts |    5 +++++
 1 file changed, 5 insertions(+)

--- a/Transpec/docbook-to-man.ts
+++ b/Transpec/docbook-to-man.ts
@@ -1218,6 +1218,11 @@
 EndText:	${_attval REP REPEAT 505}]\s
 -
 #
+GI:             ARG
+AttValue:       CHOICE REQ
+StartText:      \s
+-
+#
 GI:		ARG
 #	no special attrs -- just pass content through
 EndText:	${_attval REP REPEAT 505}\s