diff --git a/src/main/java/edu/hm/hafner/analysis/registry/ValgrindDescriptor.java b/src/main/java/edu/hm/hafner/analysis/registry/ValgrindDescriptor.java index 9a0428f7b..4298b69cc 100644 --- a/src/main/java/edu/hm/hafner/analysis/registry/ValgrindDescriptor.java +++ b/src/main/java/edu/hm/hafner/analysis/registry/ValgrindDescriptor.java @@ -3,9 +3,10 @@ import edu.hm.hafner.analysis.IssueParser; import edu.hm.hafner.analysis.parser.violations.ValgrindAdapter; +import static j2html.TagCreator.*; + /** * A descriptor for Valgrind. - * See https://valgrind.org for more information about Valgrind. */ public class ValgrindDescriptor extends ParserDescriptor { private static final String ID = "valgrind"; @@ -22,6 +23,16 @@ public IssueParser createParser(final Option... options) { @Override public String getHelp() { - return "Use option --xml=yes"; + return join(text("Use options"), + code("--xml=yes --xml-file=valgrind_report.xml --child-silent-after-fork=yes"), + text(", see the"), + a("Valgrind User Manual").withHref("https://valgrind.org/docs/manual/manual-core.html"), + text("for usage details.")).render(); } + + @Override + public String getUrl() { return "https://valgrind.org"; } + + @Override + public String getIconUrl() { return "https://valgrind.org/images/valgrind-link3.png"; } } \ No newline at end of file