[report] make --report-hook show up in `infer --help`

Summary: This was supposed to be part of the public infer API.

Reviewed By: jberdine

Differential Revision: D5526804

fbshipit-source-id: 80c7a49
master
Jules Villard 7 years ago committed by Facebook Github Bot
parent 39473960b6
commit 6f3cdd462d

@ -1430,6 +1430,7 @@ and report_formatter =
and report_hook =
CLOpt.mk_string_opt ~long:"report-hook"
~in_help:CLOpt.([(Analyze, manual_generic); (Run, manual_generic)])
~default:(lib_dir ^/ "python" ^/ "report.py")
~meta:"script"
"Specify a script to be executed after the analysis results are written. This script will be passed $(b,--issues-csv), $(b,--issues-json), $(b,--issues-txt), $(b,--issues-xml), $(b,--project-root), and $(b,--results-dir)."

Loading…
Cancel
Save