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

Unified Diff: build/env_dump.py

Issue 24350010: Treat options to the envsetup script as args. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/env_dump.py
diff --git a/build/env_dump.py b/build/env_dump.py
index c896366ec9660c07f4dea1ce8fa2e58fd5af0f2f..21edfe633c718ed8f96bd091731fa305da654821 100755
--- a/build/env_dump.py
+++ b/build/env_dump.py
@@ -22,6 +22,7 @@ def main():
'-d', '--dump-mode', action='store_true',
help='Dump the environment to sys.stdout and exit immediately.')
+ parser.disable_interspersed_args()
options, args = parser.parse_args()
if options.dump_mode:
if args or options.output_json:
« 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