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

QCommandLineParser help text doesn't wrap options with no description

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.9.6, 5.11.1
    • Fix Version/s: 5.11.3
    • Component/s: Core: Other
    • Labels:
      None
    • Commits:
      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

            Assignee:
            kaffeine Alexandr Akulich
            Reporter:
            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