Add additional error message to provide a good error message when the argument arity more than 1.
The previous error message was similar to "Option '-x' expects a single argument but 4 were provided."
After this fix the error message is similar to: "Option '-x' expects at most 3 arguments but 4 were provided."
Add additional error message to provide a good error message when the argument arity more than 1.
The previous error message was similar to "Option '-x' expects a single argument but 4 were provided." After this fix the error message is similar to: "Option '-x' expects at most 3 arguments but 4 were provided."