Index: tools/push-to-trunk/common_includes.py |
diff --git a/tools/push-to-trunk/common_includes.py b/tools/push-to-trunk/common_includes.py |
index 0e57a25bb14c84318b553174f6e71feb8f181004..7770ce0762cffae84833a2499401d99724d29239 100644 |
--- a/tools/push-to-trunk/common_includes.py |
+++ b/tools/push-to-trunk/common_includes.py |
@@ -592,6 +592,8 @@ class ScriptsBase(object): |
parser = argparse.ArgumentParser(description=self._Description()) |
parser.add_argument("-a", "--author", default="", |
help="The author email used for rietveld.") |
+ parser.add_argument("--dry-run", default=False, action="store_true", |
+ help="Perform only read-only actions.") |
parser.add_argument("-g", "--googlers-mapping", |
help="Path to the script mapping google accounts.") |
parser.add_argument("-r", "--reviewer", default="", |