mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
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").
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <f5e480af877903b0596b6a56ef7a152eb8a10dbf.1772810752.git.mchehab+huawei@kernel.org>
This commit is contained in:
parent
c1873e7743
commit
43874045fa
|
|
@ -618,7 +618,7 @@ class ManFormat(OutputFormat):
|
|||
modulename = self.modulename
|
||||
|
||||
self.data += f'.TH "{modulename}" {self.section} "{name}" '
|
||||
self.data += f'"{self.date}" "{manual}" LINUX\n'
|
||||
self.data += f'"{self.date}" "{manual}"\n'
|
||||
|
||||
def __init__(self, modulename, section="9", manual="API Manual"):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user