[CDRIVER-2424] test-libbson and test-libmongoc should error on unrecognized command line opts Created: 12/Dec/17  Updated: 28/Oct/23  Resolved: 04/May/18

Status: Closed
Project: C Driver
Component/s: tests
Affects Version/s: None
Fix Version/s: 1.10.0

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

test-libbson and test-libmongoc support a variety of command line options, but if you accidentally pass an unrecognized option like "--foo", the option is silently ignored. IWBNI there was a helpful error instead.



 Comments   
Comment by Githook User [ 04/May/18 ]

Author:

{'email': 'roberto@connexer.com', 'name': 'Roberto C. Sánchez', 'username': 'rcsanchez97'}

Message: CDRIVER-2424 error on unrecognized opts to test-libmongoc
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/f5719e08af142a2fc5332456430e8191eb598999

Generated at Wed Feb 07 21:15:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.