Commit 5ef16a37 authored by Edward Lemur's avatar Edward Lemur Committed by Commit Bot

git-cl: Fix error message when -B is not specified.

Bug: 1018293
Change-Id: I9b915c3b4a1218e6318efde005c4f38243a35055
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1900309Reviewed-by: 's avatarAnthony Polito <apolito@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
parent ea1884b6
......@@ -428,7 +428,7 @@ def _get_bucket_map(changelist, options, option_parser):
if options.bucket:
return {options.bucket: {b: [] for b in options.bot}}
option_parser.error(
'Please specify the bucket, e.g. "-B luci.chromium.try".')
'Please specify the bucket, e.g. "-B chromium/try".')
def _parse_bucket(raw_bucket):
......
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