Skip to content

Commit 64be438

Browse files
committed
FormatReporter: mention --format in help
Resolves: #522 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 33a0fe9 commit 64be438

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/pkgcheck/reporters.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def _finish(self):
166166

167167
@coroutine
168168
def _process_report(self):
169-
result_template = "<result><class>%(class)s</class>" "<msg>%(msg)s</msg></result>"
169+
result_template = "<result><class>%(class)s</class><msg>%(msg)s</msg></result>"
170170
cat_template = (
171171
"<result><category>%(category)s</category>"
172172
"<class>%(class)s</class><msg>%(msg)s</msg></result>"
@@ -239,7 +239,10 @@ def get_value(self, key, args, kwds):
239239

240240

241241
class FormatReporter(Reporter):
242-
"""Custom format string reporter."""
242+
"""Custom format string reporter.
243+
244+
This formatter uses custom format string passed using the ``--format``
245+
command line argument."""
243246

244247
priority = -1001
245248

0 commit comments

Comments
 (0)