From: Daniel Jasper Date: Sat, 21 Sep 2013 10:05:02 +0000 (+0000) Subject: Fix clang-format-diff.py to accept -style again. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68455be94700496b1387f45b5c3c30846dcd0adb;p=clang Fix clang-format-diff.py to accept -style again. Copy and paste error in r190935.. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191137 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/clang-format/clang-format-diff.py b/tools/clang-format/clang-format-diff.py index cb8d94212a..7c141785a3 100755 --- a/tools/clang-format/clang-format-diff.py +++ b/tools/clang-format/clang-format-diff.py @@ -71,7 +71,7 @@ def main(): command = [binary, '-i', filename] command.extend(lines) if args.style: - command.extend(['-style', style]) + command.extend(['-style', args.style]) p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)