List available output formats in --help output

This commit is contained in:
Daniel Hahler 2017-08-06 16:24:43 +02:00
parent 1d76abc439
commit 4a6acb6ff0
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ options = [
Option "e" ["exclude"] Option "e" ["exclude"]
(ReqArg (Flag "exclude") "CODE1,CODE2..") "exclude types of warnings", (ReqArg (Flag "exclude") "CODE1,CODE2..") "exclude types of warnings",
Option "f" ["format"] Option "f" ["format"]
(ReqArg (Flag "format") "FORMAT") "output format", (ReqArg (Flag "format") "FORMAT")
"output format (checkstyle, gcc, json, tty)",
Option "C" ["color"] Option "C" ["color"]
(OptArg (maybe (Flag "color" "always") (Flag "color")) "WHEN") (OptArg (maybe (Flag "color" "always") (Flag "color")) "WHEN")
"Use color (auto, always, never)", "Use color (auto, always, never)",