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

Treat switches like booleans in binaries supporting config files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: