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

Add possibility to hide an option in the help text of QCommandLineParser

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.6
    • Component/s: Core: Other
    • Labels:
      None
    • Commits:
      4415fefcda27e1008b948d39aa6bc734e7dc9eaa

      Description

      I think it could be great to have "private" options in the QCommandLineParser: Options that get parsed but which are not shown in the help message (because used for internal purpose).

      It could be done by adding an "enum HelpVisibility" property to QCommandLineOption.

        Attachments

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

          Activity

            People

            • Assignee:
              dfaure_kdab David Faure
              Reporter:
              francoisct Fran├žois Colas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes