I find it easier to have distinct parameters instead of an array of options: easier for documentation (only 1 level of names) and easier for default values (no need to check if the value is set).