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

Make it possible to disable "--help-all" option if needed when using QCommandLineParser::addHelpOption()

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.6, 6.2.0
    • Fix Version/s: None
    • Component/s: Core: Other

      Description

      It seems that there ain't no way to disable just the
      --help-all built-in option when using QCommandLineParser::addHelpOption().

      So instead of using addHelpOption() the help option would need to
      be implemented manually if "--help-all" does not want to be used.

      It would be ideal if  "--help-all" option would be optional.

        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:
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes