summaryrefslogtreecommitdiffstats
path: root/tools/bisect-builds.py
diff options
context:
space:
mode:
authorikarienator@chromium.org <ikarienator@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-07 21:30:17 +0000
committerikarienator@chromium.org <ikarienator@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-07 21:30:17 +0000
commit09c58da837ae0318b4b14056ed5672c954d11045 (patch)
tree55fc083de506468d112bb952b792fa526e8f8fff /tools/bisect-builds.py
parent9069b6074b4746ee48f53907f5b5205a373fa26c (diff)
downloadchromium_src-09c58da837ae0318b4b14056ed5672c954d11045.zip
chromium_src-09c58da837ae0318b4b14056ed5672c954d11045.tar.gz
chromium_src-09c58da837ae0318b4b14056ed5672c954d11045.tar.bz2
Update the help text of bisect-builds.py tool.
This change is to update the help text to indicate that the tool supports reversed good/bad revision range. BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11772002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/bisect-builds.py')
-rwxr-xr-xtools/bisect-builds.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/tools/bisect-builds.py b/tools/bisect-builds.py
index e601e47..fd6810c 100755
--- a/tools/bisect-builds.py
+++ b/tools/bisect-builds.py
@@ -587,7 +587,11 @@ def GetChromiumRevision(url):
def main():
usage = ('%prog [options] [-- chromium-options]\n'
- 'Perform binary search on the snapshot builds.\n'
+ 'Perform binary search on the snapshot builds to find a minimal '
+ 'range of revisions where a behavior change happened. The '
+ 'behaviors are described as "good" and "bad". '
+ 'It is NOT assumed that the behavior of the later revision is '
+ 'the bad one.\n'
'\n'
'Tip: add "-- --no-first-run" to bypass the first run prompts.')
parser = optparse.OptionParser(usage=usage)
@@ -603,9 +607,12 @@ def main():
'Chrome builds (internal only) instead of ' +
'Chromium archives.')
parser.add_option('-b', '--bad', type = 'str',
- help = 'The bad revision to bisect to. Default is HEAD.')
+ help = 'A bad revision to start bisection. ' +
+ 'May be earlier or later than the good revision. ' +
+ 'Default is HEAD.')
parser.add_option('-g', '--good', type = 'str',
- help = 'The last known good revision to bisect from. ' +
+ help = 'A good revision to start bisection. ' +
+ 'May be earlier or later than the bad revision. ' +
'Default is 0.')
parser.add_option('-p', '--profile', '--user-data-dir', type = 'str',
help = 'Profile to use; this will not reset every run. ' +