diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2018-06-07 13:59:14 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-11 21:18:24 +0000 |
commit | db693b44aa11a8b5eebcea4c922d5ce0e7ceb0ad (patch) | |
tree | 8bbe2d59577145b69d70972a6807759991ee8bd3 /util | |
parent | 446f77daad4184c745575f57615960fd33641b40 (diff) | |
download | coreboot-db693b44aa11a8b5eebcea4c922d5ce0e7ceb0ad.tar.xz |
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>
Diffstat (limited to 'util')
-rwxr-xr-x | util/optionlist/kconfig2html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/optionlist/kconfig2html b/util/optionlist/kconfig2html index defd35df82..35386b14cb 100755 --- a/util/optionlist/kconfig2html +++ b/util/optionlist/kconfig2html @@ -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])) |