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

report bad options sent to a command

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • None
    • None
    • Usability

    Description

      currently most commands don't complain if they receive parameters they do not use. if the administrator makes a typo this is bad as there will be no indication of something amiss.

      implement for all commands. we can have a

      virtual vector<string> Command::valueFields() = 0

      or something like that

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dwight@mongodb.com Dwight Merriman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: