common: Check option arguments for a valid range.