Skip to content

Commit 0a8a7a4

Browse files
committed
resolve #82
1 parent b9aa4cc commit 0a8a7a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpp_linter/run.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,10 @@ def main():
829829
# The parsed CLI args
830830
args = cli_arg_parser.parse_args()
831831

832+
# force files-changed-only to reflect value of lines-changed-only
833+
if args.lines_changed_only:
834+
args.files_changed_only = True
835+
832836
# set logging verbosity
833837
logger.setLevel(int(args.verbosity))
834838

0 commit comments

Comments
 (0)