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

Unified Diff: git_cl.py

Issue 436963005: Added hyphen-only options (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Fixed options in some calling code Created 6 years, 4 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 | « git_cache.py ('k') | git_new_branch.py » ('j') | 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 77f4a9e9f13c769e02e6acdadb087acb64f05224..acc6830d15bfccac1d246dc73d055cff68f26011 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1718,7 +1718,9 @@ def CMDupload(parser, args):
help='cc email addresses')
parser.add_option('-s', '--send-mail', action='store_true',
help='send email to reviewer immediately')
- parser.add_option("--emulate_svn_auto_props", action="store_true",
+ parser.add_option('--emulate_svn_auto_props',
+ '--emulate-svn-auto-props',
+ action="store_true",
dest="emulate_svn_auto_props",
help="Emulate Subversion's auto properties feature.")
parser.add_option('-c', '--use-commit-queue', action='store_true',
@@ -1726,6 +1728,7 @@ def CMDupload(parser, args):
parser.add_option('--private', action='store_true',
help='set the review private (rietveld only)')
parser.add_option('--target_branch',
+ '--target-branch',
help='When uploading to gerrit, remote branch to '
'use for CL. Default: master')
parser.add_option('--email', default=None,
« no previous file with comments | « git_cache.py ('k') | git_new_branch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698