drush_get_option(<option_name>, <default_value>) will return the default_value if the option is not defined on the command call itself. This patch uses the functions behavior which eliminates the need for an if statement.

Comments

Grayside’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.