diff options
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/upload.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py index 60feff7a..77eaf81a 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -160,6 +160,10 @@ Gerrit Code Review: http://code.google.com/p/gerrit/ | |||
160 | p.add_option('-w', '--wip', | 160 | p.add_option('-w', '--wip', |
161 | action='store_true', dest='wip', default=False, | 161 | action='store_true', dest='wip', default=False, |
162 | help='If specified, upload as a work-in-progress change.') | 162 | help='If specified, upload as a work-in-progress change.') |
163 | p.add_option('-o', '--push-option', | ||
164 | type='string', action='append', dest='push_options', | ||
165 | default=[], | ||
166 | help='Additional push options to transmit') | ||
163 | p.add_option('-D', '--destination', '--dest', | 167 | p.add_option('-D', '--destination', '--dest', |
164 | type='string', action='store', dest='dest_branch', | 168 | type='string', action='store', dest='dest_branch', |
165 | metavar='BRANCH', | 169 | metavar='BRANCH', |
@@ -393,7 +397,8 @@ Gerrit Code Review: http://code.google.com/p/gerrit/ | |||
393 | private=opt.private, | 397 | private=opt.private, |
394 | wip=opt.wip, | 398 | wip=opt.wip, |
395 | dest_branch=destination, | 399 | dest_branch=destination, |
396 | validate_certs=opt.validate_certs) | 400 | validate_certs=opt.validate_certs, |
401 | push_options=opt.push_options) | ||
397 | 402 | ||
398 | branch.uploaded = True | 403 | branch.uploaded = True |
399 | except UploadError as e: | 404 | except UploadError as e: |