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

Unified Diff: git_rebase_update.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_new_branch.py ('k') | git_reparent_branch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_rebase_update.py
diff --git a/git_rebase_update.py b/git_rebase_update.py
index f87f43b873fba4a05cace6e1f173e74e2058930c..09eaffa0f8a5da76a58b5d46bc5a13ecaf844e30 100755
--- a/git_rebase_update.py
+++ b/git_rebase_update.py
@@ -169,7 +169,8 @@ def rebase_branch(branch, parent, start_hash):
def main(args=()):
parser = argparse.ArgumentParser()
parser.add_argument('--verbose', '-v', action='store_true')
- parser.add_argument('--no_fetch', '-n', action='store_true',
+ parser.add_argument('--no_fetch', '--no-fetch', '-n',
+ action='store_true',
help='Skip fetching remotes.')
opts = parser.parse_args(args)
« no previous file with comments | « git_new_branch.py ('k') | git_reparent_branch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698