diff options
author | Daniel Jasper <djasper@google.com> | 2013-09-21 10:05:02 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-09-21 10:05:02 +0000 |
commit | 68455be94700496b1387f45b5c3c30846dcd0adb (patch) | |
tree | ed6945e071c866806b083664641aca643c68529c /tools | |
parent | bbac9aacc4742102765c1538130d09c079b14c71 (diff) | |
download | clang-68455be94700496b1387f45b5c3c30846dcd0adb.tar.gz clang-68455be94700496b1387f45b5c3c30846dcd0adb.tar.bz2 clang-68455be94700496b1387f45b5c3c30846dcd0adb.tar.xz |
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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/clang-format/clang-format-diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |