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

Unified Diff: git_new_branch.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_cl.py ('k') | git_rebase_update.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_new_branch.py
diff --git a/git_new_branch.py b/git_new_branch.py
index 6c3f39f7e66fae40ab915f93b868fa35a968ff93..18ce0180b7b24d123ecf78fef817c3eff54997e8 100755
--- a/git_new_branch.py
+++ b/git_new_branch.py
@@ -18,7 +18,8 @@ def main(args):
)
parser.add_argument('branch_name')
g = parser.add_mutually_exclusive_group()
- g.add_argument('--upstream_current', action='store_true',
+ g.add_argument('--upstream-current', '--upstream_current',
+ action='store_true',
help='set upstream branch to current branch.')
g.add_argument('--upstream', metavar='REF', default=root(),
help='upstream branch (or tag) to track.')
« no previous file with comments | « git_cl.py ('k') | git_rebase_update.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698