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

Treat switches like booleans in binaries supporting config files

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: