GraceZhuXY / pe

0 stars 0 forks source link

Different handling of extraneous parameters might be expected #4

Open GraceZhuXY opened 1 year ago

GraceZhuXY commented 1 year ago

Though stated in the User Guide that extraneous parameters will be ignored, it might make more sense for there to be an error or warning returned to a user when a command is used incorrectly.

image.png

In this example, a user may input extraneous parameters for the list command while under the misconception that this command is able to list items within a certain index range. Though it makes sense for the entire list to be returned anyway, a warning of incorrect syntax may be expected alongside the list so that a user is able to gain a more accurate understanding of this command and use it properly.

This may be a more severe issue when it comes to irreversible commands such as deletelist, where a user's inaccurate understanding of the command can result in the loss of a lot of data.

soc-pe-bot commented 1 year ago

Team's Response

It is mentioned in the UG that the extraneous parameters will be ignored for commands that do not take in parameters. Furthermore examples are given in the user guide as shown, the extra error message being suggested is not within our scope.

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: [replace this with your explanation]