Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2009 at 01:11 UTC
Updated:
7 Feb 2010 at 05:50 UTC
Jump to comment: Most recent file
settings.php allows you to specify multiple database connection strings by name. this patch enables 'drush status' to output correctly all available connection strings and mark which one is active.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | db_url_as_array_support.patch | 1.87 KB | litwol |
Comments
Comment #1
litwol commentedAnd the patch ....
Comment #2
moshe weitzman commentedSeems better to let drush_print() use print_r() instead of print
Comment #3
litwol commentedHere is output using print_r method in drush_print, and the second is using my patch.
While the first one is easiest and achieved with just one LOC inside core_commands_status, i do think we could do better by providing more aesthetic output.
I will provide patch for drush_print, but for the sakes of this discussion here's my change to drush_print() :
@Moshe Weitzman
Please advise which method you will accept and i will provide the appropriate patch.
Thanks.
Comment #4
moshe weitzman commentedHmm. We made backward progress on this recently.
Comment #5
moshe weitzman commenteddrush sa --with-db default ... replace default with a different subdir of sites if you use multisite.status shows the active connection which is enough IMO