In several places in this file, drush_get_option is called in this form:
drush_get_option('option', 'context');
Should be:
drush_get_option('option', 'default value', 'context');
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | correct-drush-get-option-usage-1325302-1.patch | 2.51 KB | sfyn |
Comments
Comment #1
sfyn commentedHere is my patch
Comment #2
sfyn commentedComment #3
bgm commentedThanks for the patch!
Tested and committed to 6.x-1.x.
Comment #4
bgm commentedThis patch is causing issues during the installation:
It seems that in most cases, we should completely omit the context, since drush_get_option() will anyway check site/platform/server, in that order.
Comment #5
sfyn commentedWould you like a new patch submitted?
Comment #6
bgm commentedI have the impression things have been pretty much worked out by now. Closing the issue.