Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2564

Improve help output for test-libmongoc

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.11.0
    • Affects Version/s: 1.9.3
    • Component/s: Testing
    • Labels:
    • Fully Compatible

      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.

            Assignee:
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: