scripts: update pk-enum-converter.py

Minor improvement to docstring item description formatting.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan committed 2025-11-23 11:17:45 +00:00
1 parent be41e8ded6
commit 37d46d284f
1 file changed
+2 -2
+2 -2
View File
@@ -183,8 +183,8 @@ for (desc_data, comments, data, name) in header_enum.findall(header):
print(comment)
print("")
for (item, desc) in header_desc.findall(desc_data):
line = f" * {name}.{item}: {desc}".rstrip()
if len(line) > 79:
line = f" * {name}.{item}: {desc.strip()}".rstrip()
if len(line) > 88:
print(f" * {name}.{item}:")
print(f" {desc}")
else: