According with modern documents, groff .TH supports up to 5 arguments, but the logic passes 6. Drop the lastest one ("LINUX").
Showing the changes to tools/lib/python (1 of 1 file). Show all
Unified · Split
| @@ -618,7 +618,7 @@ class ManFormat(OutputFormat): · 617 unmodified lines | |||
| 618 | modulename = self.modulename | 618 | modulename = self.modulename |
| 619 | 619 | ||
| 620 | self.data += f'.TH "{modulename}" {self.section} "{name}" ' | 620 | self.data += f'.TH "{modulename}" {self.section} "{name}" ' |
| 621 | self.data += f'"{self.date}" "{manual}" LINUX\n' | 621 | self.data += f'"{self.date}" "{manual}"\n' |
| 622 | 622 | ||
| 623 | def __init__(self, modulename, section="9", manual="API Manual"): | 623 | def __init__(self, modulename, section="9", manual="API Manual"): |
| 624 | """ | 624 | """ |