[CDRIVER-2564] Improve help output for test-libmongoc Created: 23/Mar/18  Updated: 28/Oct/23  Resolved: 07/Jun/18

Status: Closed
Project: C Driver
Component/s: tests
Affects Version/s: 1.9.3
Fix Version/s: 1.11.0

Type: Improvement Priority: Trivial - P5
Reporter: Kevin Albertson Assignee: Evgeni Dobranov
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

Running test-libmongoc --help outputs the names all of the tests by default, filling up the screen. We should hide printing out the test names in the help menu. E.g. only show the list of tests if a --list-tests flag is included test-libmongoc --help --list-tests.

Additionally the help menu prints to stderr. This is a minor annoyance if you want to search through the tests, since you can't pipe stdout directly into grep.



 Comments   
Comment by Githook User [ 07/Jun/18 ]

Author:

{'username': 'edobranov', 'name': 'Evgeni Dobranov', 'email': 'evobranov@gmail.com'}

Message: CDRIVER-2564 improve test-libmongoc help output
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/20286901d85dc4d848ef1e192901b0b731676a54

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