File: 0003-remove_man_errors.patch

package info (click to toggle)
cfengine3 3.15.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 34,456 kB
  • sloc: ansic: 145,932; sh: 8,550; makefile: 1,558; yacc: 1,192; python: 1,056; lex: 758; perl: 211; pascal: 149; awk: 58; xml: 21; sed: 13
file content (22 lines) | stat: -rw-r--r-- 783 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Antonio Radici <antonio@debian.org>
Date: Sun, 14 Aug 2016 22:07:44 +0100
Subject: remove_man_errors

===================================================================
---
 libutils/man.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libutils/man.c b/libutils/man.c
index 328aa48..41f5de9 100644
--- a/libutils/man.c
+++ b/libutils/man.c
@@ -134,7 +134,7 @@ static void WriteOptions(Writer *out, const struct option options[],
     {
         if (options[i].has_arg)
         {
-            WriterWriteF(out, ".IP \"--%s, -%c\" value\n%s\n", options[i].name, (char) options[i].val, option_hints[i]);
+            WriterWriteF(out, ".IP \"--%s, -%c\" \n%s\n", options[i].name, (char) options[i].val, option_hints[i]);
         }
         else
         {