diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 17:21:38 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 17:21:38 +0000 |
commit | 178aab77444ca16f54f8c229d8a01c99d9f7a9a7 (patch) | |
tree | 88a063d4fee3d69937f1cd510a74b7b8be27f630 /build | |
parent | 6f14ac531dcb0eb7b61f92d3d63fa2e9c459bc66 (diff) | |
download | chromium_src-178aab77444ca16f54f8c229d8a01c99d9f7a9a7.zip chromium_src-178aab77444ca16f54f8c229d8a01c99d9f7a9a7.tar.gz chromium_src-178aab77444ca16f54f8c229d8a01c99d9f7a9a7.tar.bz2 |
build-bisect: clarify usage
Just ran this script for unrelated reasons and I was briefly confused.
Review URL: http://codereview.chromium.org/3521021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/build-bisect.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build/build-bisect.py b/build/build-bisect.py index f44846a..84807bc 100755 --- a/build/build-bisect.py +++ b/build/build-bisect.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2.5 +#!/usr/bin/python # Copyright (c) 2010 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -175,7 +175,9 @@ def AskIsGoodBuild(rev): def main(): usage = ('%prog [options] [-- chromium-options]\n' - 'Perform binary search on the snapshot builds.') + 'Perform binary search on the snapshot builds.\n' + '\n' + 'Tip: add "-- --no-first-run" to bypass the first run prompts.') parser = optparse.OptionParser(usage=usage) # Strangely, the default help output doesn't include the choice list. choices = ['mac', 'xp', 'linux', 'linux-64', 'linux-chromiumos'] @@ -193,6 +195,8 @@ def main(): (opts, args) = parser.parse_args() if opts.archive is None: + print 'Error: missing required parameter: --archive' + print parser.print_help() return 1 |