depot_tools: add an `--auto-submit` alias to `--enable-auto-submit`

It is easier to remember.

Bug: none
Change-Id: Ic011c2b0bbbde364b69e5db91566748e72946264
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4892967
Commit-Queue: Thiago Perrotta <tperrotta@chromium.org>
Reviewed-by: Joanna Wang <jojwang@chromium.org>
changes/67/4892967/2
Thiago Perrotta 2 years ago committed by LUCI CQ
parent 3359097e9e
commit 853b29f65d

@ -4940,8 +4940,10 @@ def CMDupload(parser, args):
'the current branch')
parser.add_option(
'-a',
'--auto-submit',
'--enable-auto-submit',
action='store_true',
dest='enable_auto_submit',
help='Sends your change to the CQ after an approval. Only '
'works on repos that have the Auto-Submit label '
'enabled')
@ -5400,6 +5402,7 @@ def CMDsplit(parser, args):
'infra-dev@chromium.org with any questions.')
parser.add_option(
'-a',
'--auto-submit',
'--enable-auto-submit',
action='store_true',
dest='enable_auto_submit',

Loading…
Cancel
Save