Add --server param to reviewers

Add --server param to reviewers to make it consistent with the
openreviews command.

Change-Id: I10f48237d15e2a31b1546ded0a6bf5d8479c2231
This commit is contained in:
Paul Bourke 2014-07-30 11:14:13 +01:00
parent 65d3d6ea06
commit 8f76f64551
1 changed files with 5 additions and 1 deletions

View File

@ -257,6 +257,9 @@ def main(argv=None):
optparser.add_option(
'-r', '--csv-rows', default=0, help='Max rows for CSV output',
type='int', dest='csv_rows')
optparser.add_option(
'--server', default='review.openstack.org',
help='Gerrit server to connect to')
options, args = optparser.parse_args()
@ -287,7 +290,8 @@ def main(argv=None):
for project in projects:
changes = utils.get_changes([project], options.user, options.key,
stable=options.stable)
stable=options.stable,
server=options.server)
for change in changes:
patch_for_change = False
first_patchset = True