summaryrefslogtreecommitdiff
path: root/man/help2man.diff
blob: 017f4dc5b087da05ab0eb2cd1079b1cad002476a (plain)
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
--- man/help2man-orig
+++ man/help2man	2013-08-01 02:37:57.771389937 +0200
@@ -435,6 +435,7 @@
 my $PAT_FILES         = _('Files');
 my $PAT_EXAMPLES      = _('Examples');
 my $PAT_FREE_SOFTWARE = _('This +is +free +software');
+my $PAT_INFO          = _('For +complete +documentation');
 
 # Start a new paragraph (if required) for these.
 s/([^\n])\n($PAT_BUGS|$PAT_AUTHOR) /$1\n\n$2 /og;
@@ -467,6 +468,12 @@
 	next;
     }
 
+    # Skip any texinfo reference as that's handled separately
+    if (s/($PAT_INFO).*\n//o)
+    {
+        next;
+    }
+
     # Copyright section
     if (/^Copyright /)
     {
@@ -645,7 +652,7 @@
 .B %s
 programs are properly installed at your site, the command
 .IP
-.B info %s
+.B info coreutils \(aq%s invocation\(aq
 .PP
 should give you access to the complete manual.
 EOT