summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/upload.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py
index 02b43b40..acb9d7f0 100644
--- a/subcmds/upload.py
+++ b/subcmds/upload.py
@@ -150,6 +150,9 @@ Gerrit Code Review: https://www.gerritcodereview.com/
150 p.add_option('-d', '--draft', 150 p.add_option('-d', '--draft',
151 action='store_true', dest='draft', default=False, 151 action='store_true', dest='draft', default=False,
152 help='If specified, upload as a draft.') 152 help='If specified, upload as a draft.')
153 p.add_option('--ne', '--no-emails',
154 action='store_false', dest='notify', default=True,
155 help='If specified, do not send emails on upload.')
153 p.add_option('-p', '--private', 156 p.add_option('-p', '--private',
154 action='store_true', dest='private', default=False, 157 action='store_true', dest='private', default=False,
155 help='If specified, upload as a private change.') 158 help='If specified, upload as a private change.')
@@ -391,6 +394,7 @@ Gerrit Code Review: https://www.gerritcodereview.com/
391 auto_topic=opt.auto_topic, 394 auto_topic=opt.auto_topic,
392 draft=opt.draft, 395 draft=opt.draft,
393 private=opt.private, 396 private=opt.private,
397 notify=None if opt.notify else 'NONE',
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,