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

Improve help output for test-libmongoc

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 1.11.0
    • 1.9.3
    • tests
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: