Example for editOrder in error message is not useful as it does not modify any fields.
The example command provided here works, without any changes to any order. (I mentioned this in another issue).
However, perhaps it would be more useful if some fields were specified here so that I as a User can better understand the function instead of just editOrder 1 which doesn't change my orders.
Recommended Fix
I think a better example could be "Example: editOrder 1 c/50.0: This changes the price of the order at index 1 to 50.0"
Problem
Example for editOrder in error message is not useful as it does not modify any fields.
The example command provided here works, without any changes to any order. (I mentioned this in another issue). However, perhaps it would be more useful if some fields were specified here so that I as a User can better understand the function instead of just
editOrder 1
which doesn't change my orders.Recommended Fix
I think a better example could be "Example:
editOrder 1 c/50.0
: This changes the price of the order at index 1 to 50.0"