zulint: Add --verbose arg to print good/bad lines in error.

This argument probably still needs some iteration, but it's already
useful.
This commit is contained in:
Aman Agrawal
2019-06-23 17:11:06 +05:30
committed by Tim Abbott
parent 8eee19a160
commit 8fc7c89874
3 changed files with 17 additions and 5 deletions

View File

@@ -43,6 +43,9 @@ def add_default_linter_arguments(parser):
type=split_arg_into_list,
help='Only run linter for languages in the group(s), e.g.: '
'--groups=backend,frontend')
parser.add_argument('--verbose', '-v',
action='store_true',
help='Print verbose output where available')
def split_arg_into_list(arg):
# type: (str) -> List[str]