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

report bad options sent to a command

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • 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

        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: