-
Notifications
You must be signed in to change notification settings - Fork 78
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
keyValueMap should not prevent further parameters #226
Comments
/bounty $75 |
💎 $75 bounty created by jdegoes
|
💡 @ithinkicancode submitted a pull request that claims the bounty. You can visit your org dashboard to reward. |
@ithinkicancode: Your claim has been rewarded! 👉 Complete your Algora onboarding to collect the bounty. |
The first usage option for
keyValueMap
is quite useful --D key1=value -D key2=value
.But the second usage option
-D key1=value key2=value
prevents any further parameters.This command fails with error:
-D key=value arg
.java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
It would be more useful if we would be able to disable the second usage options.
Use case:
docker -e ENV1=VAL1 -e ENV2=EVAL2 arg1 arg2
Reproducer: https://github.com/senia-psm/zio-cli-226
The text was updated successfully, but these errors were encountered: