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

Fix +number flag handling #158

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Fix +number flag handling #158

merged 1 commit into from
Sep 29, 2023

Conversation

mtvrsh
Copy link
Contributor

@mtvrsh mtvrsh commented Sep 28, 2023

In v.0.17.0 only moar file +123 works and after this moar +123 file works too.
Flags after +123 aren't parsed anyway, eg: moar +123 -trace file fails, so it's not really a proper fix :)
I guess flagset.Parse could be called again after parsing + flag but I haven't looked into it more.

Currently only works for: moar file +123
@walles walles merged commit 242c050 into walles:master Sep 29, 2023
2 checks passed
@walles
Copy link
Owner

walles commented Sep 29, 2023

Oops. Thanks for the fix!

walles added a commit that referenced this pull request Sep 29, 2023
Fixes the issue reported with PR #158:
#158 (comment)
@mtvrsh mtvrsh deleted the arg0 branch September 29, 2023 22:21
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.

2 participants