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:
parent
c662529316
commit
04b0ae540d
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue