diff options
Diffstat (limited to 'tools/clang-format/clang-format.py')
-rw-r--r-- | tools/clang-format/clang-format.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang-format/clang-format.py b/tools/clang-format/clang-format.py index 187125ed09a8f..5fe592a9202bc 100644 --- a/tools/clang-format/clang-format.py +++ b/tools/clang-format/clang-format.py @@ -92,7 +92,7 @@ def main(): # Call formatter. command = [binary, '-style', style, '-cursor', str(cursor)] - if lines != 'all': + if lines != ['-lines', 'all']: command += lines if fallback_style: command.extend(['-fallback-style', fallback_style]) |