git cl try: --use-rietveld no longer supported.
R=nodir@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2399993004
diff --git a/git_cl.py b/git_cl.py
index 99abda9..ac9a17b 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -4656,7 +4656,7 @@
# TODO(tandrii): get rid of this.
group.add_option(
'--use-rietveld', action='store_true', default=False,
- help='Use Rietveld to trigger try jobs.')
+ help='DEPRECATED, NOT SUPPORTED.')
group.add_option(
'--buildbucket-host', default='cr-buildbucket.appspot.com',
help='Host of buildbucket. The default host is %default.')
@@ -4665,8 +4665,8 @@
options, args = parser.parse_args(args)
auth_config = auth.extract_auth_config_from_options(options)
- if options.use_rietveld and options.properties:
- parser.error('Properties can only be specified with buildbucket')
+ if options.use_rietveld:
+ parser.error('--use-rietveld is not longer supported.')
# Make sure that all properties are prop=value pairs.
bad_params = [x for x in options.properties if '=' not in x]