texi2pod.pl: add no-op --no-split option support [PR28144]

Message ID 20210726215629.1515872-1-slyfox@gentoo.org
State New
Headers show
Series
  • texi2pod.pl: add no-op --no-split option support [PR28144]
Related show

Commit Message

Cooper Qu via Binutils July 26, 2021, 9:56 p.m.
From: Sergei Trofimovich <siarheit@google.com>


Change 2faf902da ("generate single html manual page by default")
added use of --no-split option to makeinfo. binutils reuses
makeinfo options for texi2pod.pl wrapper. Unsupported option
led to silent manpage truncation.

The change adds no-op option support.

etc/

	* texi2pod.pl: Handle no-op --no-split option.
---
 etc/texi2pod.pl | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.32.0

Comments

Cooper Qu via Binutils July 28, 2021, 7:54 a.m. | #1
On Mon, Jul 26, 2021 at 10:56:29PM +0100, Sergei Trofimovich via Binutils wrote:
> 	* texi2pod.pl: Handle no-op --no-split option.


OK, thanks.

-- 
Alan Modra
Australia Development Lab, IBM

Patch

diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index 11f70d156be..dcf2b437640 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -59,6 +59,8 @@  while ($_ = shift) {
 	    $flag = shift;
 	}
         push (@ipath, $flag);
+    } elsif (/^--no-split$/) {
+	# ignore option for makeinfo compatibility
     } elsif (/^-/) {
 	usage();
     } else {