util/optionlist: show location of a comment
Change-Id: Ib417f435011f0331a1b0228734874ef0a62fb587 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/26945 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
446f77daad
commit
db693b44aa
|
@ -79,7 +79,7 @@ def readfile(filename):
|
|||
helplen = len(i[:i.find(words[0])].expandtabs())
|
||||
elif words[0] == "comment":
|
||||
sys.stdout.write("<tr bgcolor=\"#eeeeee\">\n")
|
||||
sys.stdout.write("<td></td><td></td><td>(comment)</td><td></td><td>%s</td></tr>\n" % htmlescape(zapquotes(words[1])))
|
||||
sys.stdout.write("<td></td><td>%s</td><td>(comment)</td><td></td><td>%s</td></tr>\n" % (source, htmlescape(zapquotes(words[1]))))
|
||||
elif words[0]=="menu":
|
||||
if len(words)>1:
|
||||
temp = htmlescape(zapquotes(words[1]))
|
||||
|
|
Loading…
Reference in New Issue