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:
1 file changed
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user