Add "help" output for various config files

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Admin
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the --help option only has output for the command line. In theory, we could have it output help for the various config files as well (currently YAML and INI).

      The usage would be:

      ./mongod --help
      ./mongod --help cmdline
      # Outputs command line help
      ./mongod --help yaml
      # Outputs YAML config help which can also act as template config file
      ./mongod --help ini
      # Outputs INI config help which can also act as template config file
      

      The help for the config files would have comments that are the option descriptions in the code. The INI would be done manually (the generator should be simple) and the YAML parser we are using supports comment output: https://code.google.com/p/yaml-cpp/wiki/HowToEmitYAML

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Shaun Verch (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: