Index: tools/push-to-trunk/auto_roll.py |
diff --git a/tools/push-to-trunk/auto_roll.py b/tools/push-to-trunk/auto_roll.py |
index 4267ac23ffaf997c4fe3b761a528c6737d8c221d..65fad92ab6f0bf2973dcde35681510721f1b9ac7 100755 |
--- a/tools/push-to-trunk/auto_roll.py |
+++ b/tools/push-to-trunk/auto_roll.py |
@@ -100,6 +100,8 @@ class RollChromium(Step): |
if self._options.sheriff: |
args.extend([ |
"--sheriff", "--googlers-mapping", self._options.googlers_mapping]) |
+ if self._options.dry_run: |
+ args.extend(["--dry-run"]) |
R = chromium_roll.ChromiumRoll |
self._side_effect_handler.Call( |
R(chromium_roll.CONFIG, self._side_effect_handler).Run, |
@@ -111,8 +113,7 @@ class AutoRoll(ScriptsBase): |
parser.add_argument("-c", "--chromium", required=True, |
help=("The path to your Chromium src/ " |
"directory to automate the V8 roll.")) |
- parser.add_argument("--roll", |
- help="Make Chromium roll. Dry run if unspecified.", |
+ parser.add_argument("--roll", help="Call Chromium roll script.", |
default=False, action="store_true") |
def _ProcessOptions(self, options): # pragma: no cover |