Added hyphen-only options
Some options have words separated by underscores. Added options with
same name and underscores replaced by hyphens.
BUG=400953
Review URL: https://codereview.chromium.org/436963005
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@288366 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_rebase_update.py b/git_rebase_update.py
index f87f43b..09eaffa 100755
--- a/git_rebase_update.py
+++ b/git_rebase_update.py
@@ -169,7 +169,8 @@
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)