[SERVER-4269] report bad options sent to a command Created: 13/Nov/11  Updated: 15/Jun/17  Resolved: 15/Jun/17

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Dwight Merriman Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: commands, validation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-7101 Commands should error on missing/inva... Open
Participants:

 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



 Comments   
Comment by Ian Whalen (Inactive) [ 15/Jun/17 ]

Although we've been fixing these one-by-one we don't intend to coordinate a larger effort to resolve all of these at once. Also, these should go away slowly as we move over towards using the IDL over time.

Generated at Thu Feb 08 03:05:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.