scripts: gerrit: Grammar/spelling fixes.
Just a few minor grammar/spelling fixes while I was in there.
BUG=b:223433932
TEST=None
Change-Id: Idaf1e1d127df1afca42f375c4d54cf9e56bae703
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3668771
Auto-Submit: Alex Klein <saklein@chromium.org>
Reviewed-by: Gilberto Contreras <gcontreras@google.com>
Tested-by: Alex Klein <saklein@chromium.org>
Commit-Queue: Gilberto Contreras <gcontreras@google.com>
diff --git a/scripts/gerrit.py b/scripts/gerrit.py
index b00d719..f709018 100644
--- a/scripts/gerrit.py
+++ b/scripts/gerrit.py
@@ -458,7 +458,7 @@
# when CQ-DEPEND uses a Gerrit Change-Id, but that Change-Id shows up
# across multiple repos/branches. We blindly check all of them in the
# hopes that all open ones are what the user wants, but then again the
- # CQ-DEPEND syntax itself is unable to differeniate. *shrug*
+ # CQ-DEPEND syntax itself is unable to differentiate. *shrug*
if len(changes) > 1:
logging.warning('CL %s has an ambiguous CQ dependency %s',
cl, dep.ToGerritQueryText())
@@ -519,7 +519,7 @@
@classmethod
def __call__(cls, opts):
"""Implement the action."""
- # Convert user friendly command line option into a gerrit parameter.
+ # Convert user-friendly command line option into a gerrit parameter.
def task(arg):
helper, cl = GetGerrit(opts, arg)
helper.SetReview(cl, labels={cls.LABEL: opts.value[0]}, msg=opts.msg,
@@ -867,7 +867,7 @@
class ActionCherryPick(UserAction):
- """Cherry pick CLs to branches."""
+ """Cherry-pick CLs to branches."""
COMMAND = 'cherry-pick'