From 600149a824f85808fb8231f187d848321d36bb46 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Tue, 9 Apr 2024 16:12:41 +1200 Subject: [PATCH] Docs: Add back message for empty help --- techlibs/common/cellhelp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/techlibs/common/cellhelp.py b/techlibs/common/cellhelp.py index 8d0d7d757..4d40b73c0 100644 --- a/techlibs/common/cellhelp.py +++ b/techlibs/common/cellhelp.py @@ -53,6 +53,8 @@ for line in fileinput.input(): # no module definition, ignore line pass if line.startswith("endmodule"): + if not simHelper.desc: + simHelper.desc.append("No help message for this cell type found.\n") print(simHelper) simHelper = SimHelper()