gerrit: Fix options for `gerrit ready`
`gerrit ready` is the CLI equivalent of commit-queue ready in the UI.
There is only CQ 0 or CQ +1, no CQ +2. Fix the options.
BUG=None
TEST=ran `gerrit help`
Change-Id: I5b3261a456cafeb9e3a9165b96120cff8009f65a
Reviewed-on: https://chromium-review.googlesource.com/513432
Commit-Ready: Kirtika Ruchandani <kirtika@chromium.org>
Tested-by: Kirtika Ruchandani <kirtika@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/gerrit.py b/scripts/gerrit.py
index 94a7444..adbc9f9 100644
--- a/scripts/gerrit.py
+++ b/scripts/gerrit.py
@@ -342,7 +342,7 @@
def UserActReady(opts, *args):
- """Mark CL <n> [n ...] with ready status <0,1,2>"""
+ """Mark CL <n> [n ...] with ready status <0,1>"""
num = args[-1]
for arg in args[:-1]:
helper, cl = GetGerrit(opts, arg)