Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: git_cl.py

Issue 11783007: Add short options for git cl presubmit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 08ea2a313411d3c84d5bbc53c97b7c7ded7e9d66..aba28f6746c3e40a95a1e674156f8ce3982c02c1 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1053,9 +1053,9 @@ def CreateDescriptionFromLog(args):
def CMDpresubmit(parser, args):
"""run presubmit tests on the current changelist"""
- parser.add_option('--upload', action='store_true',
+ parser.add_option('-u', '--upload', action='store_true',
help='Run upload hook instead of the push/dcommit hook')
- parser.add_option('--force', action='store_true',
+ parser.add_option('-f', '--force', action='store_true',
help='Run checks even if tree is dirty')
(options, args) = parser.parse_args(args)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698