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

Disallow multiple repeatable args, and a repeatable arg that is not the last one #455

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

DannyBen
Copy link
Owner

@DannyBen DannyBen commented Dec 7, 2023

Having multiple repeatable args, or a repeatable arg that is not the last one makes no sense (and creates an invalid bash script).

This PR adds a validation for these two cases.

@DannyBen DannyBen merged commit 220150d into master Dec 7, 2023
6 checks passed
@DannyBen DannyBen deleted the fix/repeatable-arg-validation branch December 7, 2023 08:25
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.

1 participant