Minor nitpick, the UG states Parameters can be in any order., and since indexes are also parameters (Words in UPPER_CASE are the parameters to be supplied by the user.), it would mean that a command like edit n/John INDEX should be allowed, even though should not be (limitations of parser). I think that you could have perhaps made it explict that index parameters should not be reordered.
Minor nitpick, the UG states
Parameters can be in any order.
, and since indexes are also parameters (Words in UPPER_CASE are the parameters to be supplied by the user.
), it would mean that a command likeedit n/John INDEX
should be allowed, even though should not be (limitations of parser). I think that you could have perhaps made it explict that index parameters should not be reordered.