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

Unified Diff: build/symlink.py

Issue 16096006: Skip argv[0] when processing command line options in symlink.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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: build/symlink.py
diff --git a/build/symlink.py b/build/symlink.py
index e5257316d724b70b7c6d8bcd236e49aa90d56fec..aade2f865c7a18993dcf58d5aa68ea74464741fa 100755
--- a/build/symlink.py
+++ b/build/symlink.py
@@ -17,7 +17,7 @@ def Main(argv):
parser.add_option('-f', '--force', action='store_true')
parser.add_option('--touch')
- options, args = parser.parse_args(argv)
+ options, args = parser.parse_args(argv[1:])
if len(args) < 2:
parser.error('at least two arguments required.')
« 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