History

docs: kdoc_output: remove extra attribute on man .TH headers

According with modern documents, groff .TH supports up to 5 arguments, but the logic passes 6. Drop the lastest one ("LINUX").

Mauro Carvalho Chehab committed 8 months ago

Commit 43874041 parent c1873e71 file · +1 −1Browse files

Showing the changes to tools/lib/python (1 of 1 file). Show all

Unified · Split

tools/lib/python/kdoc/kdoc_output.py+1−1
@@ -618,7 +618,7 @@ class ManFormat(OutputFormat): · 617 unmodified lines
618618 modulename = self.modulename
619619
620620 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'
622622
623623 def __init__(self, modulename, section="9", manual="API Manual"):
624624 """