| 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.')
|
|
|