[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: |