Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13872

Treat switches like booleans in binaries supporting config files

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      Switch options have strange behavior in old config files. Because boost handled INI config files and command line options together, the line:

      value=false

      Gets interpreted as the value not being set at all, which changes how it shows up in the output of the "getCmdLineOpts" command.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sverch Shaun Verch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: