Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Add support for a mode where positionals are not positional #24

Closed
felixSchl opened this issue May 1, 2016 · 2 comments
Closed

Add support for a mode where positionals are not positional #24

felixSchl opened this issue May 1, 2016 · 2 comments

Comments

@felixSchl
Copy link
Owner

This is for convenience to the user:

usage: git branch [options] [-r | -a] [--merged | --no-merged]
   or: git branch [options] [-l] [-f] <branchname> [<start-point>]
   or: git branch [options] [-r] (-d | -D) <branchname>...
   or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>

e.g. git branch -m, this all works:

git branch -m foo bar
git branch foo -m bar
git branch foo bar -m

This makes it easy to add another flag at then end should the user forget one.

@felixSchl
Copy link
Owner Author

Work is tracked on feature/free-positionals and almost ready

@felixSchl
Copy link
Owner Author

Landed via 773941c

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant