Make it possible to emulate the [<tree-ish>] [--] [<paths>...]
behavior of git-checkout
#4
Labels
[<tree-ish>] [--] [<paths>...]
behavior of git-checkout
#4
Part of git-checkout's usage looks like this:
The
<tree-ish>
and<paths>
are both positional arguments. One can disambiguate between a<tree-ish>
and a<paths>
argument by using--
.It might be useful to be able to emulate this behavior.
Implementing this might be as simple as adding a flag to
ArgParser.argumentList
(andargument
) that disables parsing of the positional argument once--
appears.The text was updated successfully, but these errors were encountered: