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

report bad options sent to a command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: 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

              Assignee:
              Unassigned Unassigned
              Reporter:
              dwight_10gen Dwight Merriman
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: