Open trentm opened 3 years ago
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".
-i FIELDS
-x FIELDS
ecslog -i foo -i bar
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".