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

Undefined long args are too greedy by default, eating up positional args! #48

Closed
xparq opened this issue Nov 2, 2023 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@xparq
Copy link
Owner

xparq commented Nov 2, 2023

E.g., these are failing:

RUN args-test --arg=1 not-a-param!
EXPECT "\
-------- NAMED:
arg = 1
-------- POSITIONAL:
not-a-param!
"

RUN args-test --arg 1 not-a-param!
EXPECT "\
-------- NAMED:
arg
-------- POSITIONAL:
1
not-a-param!
"
@xparq xparq added the bug Something isn't working label Nov 2, 2023
@xparq xparq changed the title Undefined long args are greedy by default, eating positional args nexpectedly! Undefined long args are greedy by default, eating positional args unexpectedly! Nov 2, 2023
@xparq xparq changed the title Undefined long args are greedy by default, eating positional args unexpectedly! Undefined long args are too greedy by default, eating up positional args! Nov 2, 2023
@xparq xparq pinned this issue Nov 2, 2023
@xparq xparq unpinned this issue Nov 3, 2023
@xparq xparq closed this as completed in dfbba86 Nov 3, 2023
xparq added a commit that referenced this issue Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant