Closed (fixed)
Project:
Git Release Notes for Drush
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 Jan 2012 at 17:45 UTC
Updated:
6 Feb 2012 at 06:20 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| remove-redundant-if-statement-for-drush_get_option.patch | 572 bytes | petsagouris |
Comments
Comment #1
Grayside commentedCommitted with reroll.
http://drupalcode.org/project/grn.git/commit/ccfb27f