Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70174

QCommandLineParser help text doesn't wrap options with no description

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.3
    • 5.9.6, 5.11.1
    • Core: Other
    • None
    • 94884246d445fb3e702ac8c4d4bb432768e61b61

    Description

      QCommandLineParser help prints all options in a single line if no description given. An example of such output (it looks worse in a wide terminal):

      Options:
        -h, --help                    Displays this help.
        -I, --input-dir <inputDir>      -O, --output-dir <outputDir>    --dry-run                       --dump                          --author <author>               --add-spec-sources              --fetch-text <url>              --fetch-json                    --format-json                   --generate-from-json            --generate-from-text          
      Arguments:
        spec                          The specification file (text or json)
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kaffeine Alexandr Akulich
            kaffeine Alexandr Akulich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes