commit | 1c9e6f912747949ff0e418dbcf39a416b41e2e91 | [log] [tgz] |
---|---|---|
author | Tor Norbye <tnorbye@google.com> | Tue Nov 29 13:47:17 2011 -0800 |
committer | Tor Norbye <tnorbye@google.com> | Tue Nov 29 13:59:14 2011 -0800 |
tree | 85d7e65b3b4bcadde327240b65c5a41acbb733eb | |
parent | 77041eca16f0809ed777322691b184928eb4e5cb [diff] |
Add flags to lint cli to turn off warnings, and turn on all Add gcc-style flags -w, -Wall and -Werror, and javac-style --nowarn (identical to -w) to turn off warnings (only check for errors), enable all warnings, and to turn all warnings into errors respectively. Also cleans up the print-usage code a little bit such that the format is nicer: the arguments all appear on the left and the explanations are all aligned on the right. Change-Id: I247f9e81ebe5322c7b19af2f043c7a82133c18a1