[docs] Improve `git cl patch --help`

Change-Id: I001a1baafe2b136bbe89055fec5ae91118332d1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4660921
Reviewed-by: Andy Perelson <ajp@google.com>
Auto-Submit: Victor Vianna <victorvianna@google.com>
Commit-Queue: Andy Perelson <ajp@google.com>
changes/21/4660921/3
Victor Hugo Vianna Silva 2 years ago committed by LUCI CQ
parent 7b0a195903
commit deff9a27cc

@ -5206,7 +5206,7 @@ def CMDland(parser, args):
@subcommand.usage('<patch url or issue id or issue url>') @subcommand.usage('<patch url or issue id or issue url>')
@metrics.collector.collect_metrics('git cl patch') @metrics.collector.collect_metrics('git cl patch')
def CMDpatch(parser, args): def CMDpatch(parser, args):
"""Patches in a code review.""" """Applies (cherry-picks) a Gerrit changelist locally."""
parser.add_option('-b', dest='newbranch', parser.add_option('-b', dest='newbranch',
help='create a new branch off trunk for the patch') help='create a new branch off trunk for the patch')
parser.add_option('-f', '--force', action='store_true', parser.add_option('-f', '--force', action='store_true',

@ -890,7 +890,7 @@ patch
</dt> </dt>
<dd> <dd>
<p> <p>
patches in a code review applies (cherry-picks) a Gerrit changelist locally
</p> </p>
</dd> </dd>
<dt class="hdlist1"> <dt class="hdlist1">

@ -114,7 +114,7 @@ interactively find the owners for reviewing
.PP .PP
patch patch
.RS 4 .RS 4
patches in a code review applies (cherry-picks) a Gerrit changelist locally
.RE .RE
.PP .PP
presubmit presubmit

@ -65,7 +65,7 @@ owners::
interactively find the owners for reviewing interactively find the owners for reviewing
patch:: patch::
patches in a code review applies (cherry-picks) a Gerrit changelist locally
presubmit:: presubmit::
runs presubmit tests on the current changelist runs presubmit tests on the current changelist

Loading…
Cancel
Save