Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: clang_format.py

Issue 972453002: Fix the argument passed to main() in clang_format.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: clang_format.py
diff --git a/clang_format.py b/clang_format.py
index f69f94d6e7cdbc0e5ae6e8a7b669c6c7b5d5bca8..5bfeb1ae9e8a78a51adf0d1391a85b10e1fcd1a6 100755
--- a/clang_format.py
+++ b/clang_format.py
@@ -67,7 +67,7 @@ def main(args):
if __name__ == '__main__':
try:
- sys.exit(main(sys.argv[1]))
+ sys.exit(main(sys.argv[1:]))
except KeyboardInterrupt:
sys.stderr.write('interrupted\n')
sys.exit(1)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698