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

multiple -i and -x fields should accumulate #25

Open
trentm opened this issue Jun 18, 2021 · 0 comments
Open

multiple -i and -x fields should accumulate #25

trentm opened this issue Jun 18, 2021 · 0 comments

Comments

@trentm
Copy link
Owner

trentm commented Jun 18, 2021

Currently if -i FIELDS is used multiple times, then the FIELDS from the last one win. Ditto for -x FIELDS. I think they should accumulate (as I do in node.js with https://github.com/trentm/node-dashdash/blob/master/examples/custom-option-arrayOfCommaSepString.js). I.e. ecslog -i foo -i bar should include both "foo" and "bar" fields, not just "bar".

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

No branches or pull requests

1 participant