Updated to use the option function.

This will force an error to occur if either of the (required)
parameters are omitted from the command.