Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1158

Do not take arbitrary arguments as configuration names

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 1.11.0
    • 1.8.1
    • Command Line Frontend
    • None
    • 192ff3086593b5052f1986333ea7fe769696596b

    Description

      As a qbs newbie, I'm often typing commands like

      qbs ? // trying to get help
      qbs build help // trying to get help for build command
      qbs qt-5-9-msvc-2015-64 // trying to build with profile "qt-5-9-msvc-2015-64"
      

      In all of the above cases, qbs will interpret "?", "help", "qt-5-9-msvc-2015-64" as a configuration name, and will try to create build configurations with the same name, which is arguably unexpected.

      We might therefore consider requiring configuration names to be qualified, e.g.

      qbs qbs.configurationName:release
      

      And show an error for all of the above commands.

      Attachments

        For Gerrit Dashboard: QBS-1158
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes