diff options
author | darrien <darrien@arista.com> | 2019-02-05 15:58:09 -0500 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2019-02-06 08:41:42 +0900 |
commit | 128bf1087b3ca5a470e9e400cad993e459ba93ec (patch) | |
tree | 9f2d6675945a6db888dd4ee571cfdd6e5f22d315 | |
parent | 4780124708cd0b1364e9259f421f5381e0808ed3 (diff) |
Update cmd-review documentation
cmd-review docs have been outdated for at least a year.
https://stackoverflow.com/questions/45814571/why-does-gerrit-review-return-a-not-a-valid-patch-set-error
Patch updates docs to reflect commands.
Change-Id: I33f531553a110bb92859525461dac21a02f49bd9
-rw-r--r-- | Documentation/cmd-review.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/cmd-review.txt b/Documentation/cmd-review.txt index a4078562e8..6498dfde44 100644 --- a/Documentation/cmd-review.txt +++ b/Documentation/cmd-review.txt @@ -21,7 +21,7 @@ _ssh_ -p <port> <host> _gerrit review_ [--verified <N>] [--code-review <N>] [--label Label-Name=<N>] [--tag TAG] - {COMMIT | CHANGEID,PATCHSET}... + {COMMIT | CHANGENUMBER,PATCHSET}... -- == DESCRIPTION @@ -149,14 +149,14 @@ Approve the change with commit c0ff33 as "Verified +1" Vote on the project specific label "mylabel": ---- - $ ssh -p 29418 review.example.com gerrit review --label mylabel=+1 c0ff33 + $ ssh -p 29418 review.example.com gerrit review --label mylabel=+1 8242,2 ---- Append the message "Build Successful". Notice two levels of quoting is required, one for the local shell, and another for the argument parser inside the Gerrit server: ---- - $ ssh -p 29418 review.example.com gerrit review -m '"Build Successful"' c0ff33 + $ ssh -p 29418 review.example.com gerrit review -m '"Build Successful"' 8242,2 ---- Mark the unmerged commits both "Verified +1" and "Code-Review +2" and @@ -172,7 +172,7 @@ submit them for merging: Abandon an active change: ---- - $ ssh -p 29418 review.example.com gerrit review --abandon c0ff33 + $ ssh -p 29418 review.example.com gerrit review --abandon 8242,2 ---- == SEE ALSO |