From c601e364af269fd23de494371918db0d68797169 Mon Sep 17 00:00:00 2001 From: mlcui Date: Mon, 14 Aug 2023 23:39:46 +0000 Subject: [PATCH] git cl presubmit: Add "base branch" usage hint A base branch can be passed into `git cl presubmit` as a positional argument, but the output for `git cl presubmit --help` did not mention it until this CL. Change-Id: I05d75af4fd175585a5e7ae74f2f4bb73227127ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4778138 Commit-Queue: Michael Cui Reviewed-by: Gavin Mak --- git_cl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/git_cl.py b/git_cl.py index 9e56f70d8a..b0f7efbb02 100755 --- a/git_cl.py +++ b/git_cl.py @@ -4432,6 +4432,7 @@ def CMDlint(parser, args): @metrics.collector.collect_metrics('git cl presubmit') +@subcommand.usage('[base branch]') def CMDpresubmit(parser, args): """Runs presubmit tests on the current changelist.""" parser.add_option('-u', '--upload', action='store_true',