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

report bad options sent to a command

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

      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

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

              Created:
              Updated:
              Resolved: