(PUP-4178) Change defined function to use required_repeated_param
Before this, if an error was made when giving arguments the error
message would indicate a required parameter followed by 0:M additional
parameters. This is bad because conceptually it is "one or more" values.