Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reorder flags so they can come after arguments #1928

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fiatjaf
Copy link

@fiatjaf fiatjaf commented Jun 26, 2024

What type of PR is this?

  • feature

What this PR does / why we need it:

This brings back (and improves) the reorderFlags function from v1 that allows flags to be specified after arguments and still work. It's a very much requested feature, see #1733 and #976.

Which issue(s) this PR fixes:

Fixes #976

Testing

I've done some manual testing.

@fiatjaf fiatjaf requested a review from a team as a code owner June 26, 2024 02:19
@skelouse
Copy link
Contributor

I did something similar in another repo if you need this: #1583 (comment)

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

Successfully merging this pull request may close these issues.

v2 feature: allow flags after arguments
2 participants