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

Unified Diff: tools/create_editor.py

Issue 11908004: Fix an issue with the setupDevWorkspace target on windows. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | « editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_editor.py
===================================================================
--- tools/create_editor.py (revision 17084)
+++ tools/create_editor.py (working copy)
@@ -85,7 +85,7 @@
def BuildOptions():
- options = optparse.OptionParser()
+ options = optparse.OptionParser(usage='usage: %prog [options] <output>')
options.add_option("-m", "--mode",
help='Build variant',
metavar='[debug,release]')
@@ -102,9 +102,8 @@
(options, args) = parser.parse_args()
if len(args) > 1:
- print 'usage: tools/create_editor.py [options] <output>'
parser.print_help()
- return 0
+ return 1
osName = utils.GuessOS()
mode = 'debug'
« no previous file with comments | « editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698