Add dummy --remote-version argument.
This restores compatibility for ToT generated tryjobs.
BUG=32781
TEST=manual inspection.
Change-Id: I3373854d30bd82030ffa642397ca0a41c96ba372
Reviewed-on: https://gerrit.chromium.org/gerrit/28014
Tested-by: Brian Harring <ferringb@chromium.org>
Reviewed-by: Ryan Cui <rcui@chromium.org>
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index 7d8e985..dca18f0 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -751,6 +751,9 @@
help='Used with manifest logic. Forces use of this version '
'rather than create or get latest.')
+ # Added for --remote compatibility against ToT; no-op option.
+ group.add_option('--remote-version', help=optparse.SUPPRESS_HELP)
+
# Dummy arguments for compatibility with higher branches.
group.add_option('--sourceroot', default=None, type='string',
help=optparse.SUPPRESS_HELP)