3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

cellref: Move default help message to register.cc

Drop the default help message from rst while still displaying it on the command line.
Fix command line formatting for older style help messages.
This commit is contained in:
Krystine Sherwin 2024-05-27 12:47:47 +12:00
parent c662529316
commit 04b0ae540d
No known key found for this signature in database
2 changed files with 7 additions and 7 deletions

View file

@ -84,9 +84,7 @@ for line in fileinput.input():
simcells_reparse(simHelper)
# check help
if not simHelper.desc:
simHelper.desc.append("No help message for this cell type found.\n")
elif simHelper.ver == "1" and short_filename == "simlib.v" and simHelper.desc[1].startswith(' '):
if simHelper.desc and simHelper.ver == "1" and short_filename == "simlib.v" and simHelper.desc[1].startswith(' '):
simHelper.desc.pop(1)
# check group