As seen from User Guide, square brackets means it is optional. In this case, all the parameters can be interpreted as optional which is confusing to users as edit requires minimum 1 parameter. A better way could be using curly braces to indicate at least one parameter among all parameters must be present because even error thrown is indicating at least one parameter must be present.
As seen from User Guide, square brackets means it is optional. In this case, all the parameters can be interpreted as optional which is confusing to users as edit requires minimum 1 parameter. A better way could be using curly braces to indicate at least one parameter among all parameters must be present because even error thrown is indicating at least one parameter must be present.