()
| 859 | |
| 860 | |
| 861 | def GetOptions(): |
| 862 | result = optparse.OptionParser() |
| 863 | result.add_option('--no-lint', help="Do not run cpplint", default=False, |
| 864 | action="store_true") |
| 865 | result.add_option('--no-linter-cache', help="Do not cache linter results", |
| 866 | default=False, action="store_true") |
| 867 | |
| 868 | return result |
| 869 | |
| 870 | |
| 871 | class TeeIO: |