File: 0002-arg-req-space.patch

package info (click to toggle)
docbook-to-man 1%3A2.0.0-49
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,824 kB
  • sloc: ansic: 5,843; makefile: 155; sh: 28
file content (25 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (3)
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
From: Philipp Benner <mail@philipp-benner.de>
Date: Fri, 12 May 2017 10:49:00 +0200
Subject: arg-req-space

Inserts missing space after required arguments in section synopsis.
---
 Transpec/docbook-to-man.ts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Transpec/docbook-to-man.ts b/Transpec/docbook-to-man.ts
index 8f80f7f..1a3d70e 100644
--- a/Transpec/docbook-to-man.ts
+++ b/Transpec/docbook-to-man.ts
@@ -1218,6 +1218,11 @@ StartText:	\s[
 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