Parse an integer flag value, raising UsageError (exit 2) instead of letting String#to_i's ArgumentError escape as an unhandled exception.