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
parent 9069b607
...@@ -587,7 +587,11 @@ def GetChromiumRevision(url): ...@@ -587,7 +587,11 @@ def GetChromiumRevision(url):
def main(): def main():
usage = ('%prog [options] [-- chromium-options]\n' 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' '\n'
'Tip: add "-- --no-first-run" to bypass the first run prompts.') 'Tip: add "-- --no-first-run" to bypass the first run prompts.')
parser = optparse.OptionParser(usage=usage) parser = optparse.OptionParser(usage=usage)
...@@ -603,9 +607,12 @@ def main(): ...@@ -603,9 +607,12 @@ def main():
'Chrome builds (internal only) instead of ' + 'Chrome builds (internal only) instead of ' +
'Chromium archives.') 'Chromium archives.')
parser.add_option('-b', '--bad', type = 'str', 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', 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.') 'Default is 0.')
parser.add_option('-p', '--profile', '--user-data-dir', type = 'str', parser.add_option('-p', '--profile', '--user-data-dir', type = 'str',
help = 'Profile to use; this will not reset every run. ' + help = 'Profile to use; this will not reset every run. ' +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment