Merge pull request #964 from blueyed/help-document-output-formats
List available output formats in --help output
This commit is contained in:
commit
72ed234291
|
@ -77,12 +77,14 @@ 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)",
|
||||||
Option "s" ["shell"]
|
Option "s" ["shell"]
|
||||||
(ReqArg (Flag "shell") "SHELLNAME") "Specify dialect (sh,bash,dash,ksh)",
|
(ReqArg (Flag "shell") "SHELLNAME")
|
||||||
|
"Specify dialect (sh, bash, dash, ksh)",
|
||||||
Option "x" ["external-sources"]
|
Option "x" ["external-sources"]
|
||||||
(NoArg $ Flag "externals" "true") "Allow 'source' outside of FILES.",
|
(NoArg $ Flag "externals" "true") "Allow 'source' outside of FILES.",
|
||||||
Option "V" ["version"]
|
Option "V" ["version"]
|
||||||
|
|
Loading…
Reference in New Issue