r191137 - Fix clang-format-diff.py to accept -style again.
Daniel Jasper
djasper at google.com
Sat Sep 21 03:05:02 PDT 2013
Author: djasper
Date: Sat Sep 21 05:05:02 2013
New Revision: 191137
URL: http://llvm.org/viewvc/llvm-project?rev=191137&view=rev
Log:
Fix clang-format-diff.py to accept -style again.
Copy and paste error in r190935..
Modified:
cfe/trunk/tools/clang-format/clang-format-diff.py
Modified: cfe/trunk/tools/clang-format/clang-format-diff.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/clang-format-diff.py?rev=191137&r1=191136&r2=191137&view=diff
==============================================================================
--- cfe/trunk/tools/clang-format/clang-format-diff.py (original)
+++ cfe/trunk/tools/clang-format/clang-format-diff.py Sat Sep 21 05:05:02 2013
@@ -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)
More information about the cfe-commits
mailing list