git cl set-commit: actually apply passed --rietveld / --gerrit options
BUG=600945
Recipe-Tryjob-Bypass-Reason: expectation changes expected and wanted
Review-Url: https://codereview.chromium.org/2234873002
diff --git a/git_cl.py b/git_cl.py
index 0fa2dc9..2d6315c 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -4731,7 +4731,7 @@
if options.dry_run and options.clear:
parser.error('Make up your mind: both --dry-run and --clear not allowed')
- cl = Changelist(auth_config=auth_config)
+ cl = Changelist(auth_config=auth_config, codereview=options.forced_codereview)
if options.clear:
state = _CQState.NONE
elif options.dry_run: