Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2008 at 09:08 UTC
Updated:
29 Apr 2009 at 02:00 UTC
Hi Moshe,
while trying (without success) to run drush sql select nid from nodes just ran into dispatching code.
(This extra logging helps me in the future solving this sql problem.)
| Comment | File | Size | Author |
|---|---|---|---|
| drush-inc.patch | 1.26 KB | clemens.tolboom |
Comments
Comment #1
clemens.tolboomThe patch is handy. My problem has nothing to do with drush but with my bash script :-/
Comment #2
moshe weitzman commentedThe extra verbose stuff looks good.
You added too much indentation to one comment and you removed an array_reverse() without mentioning why.
Comment #3
clemens.tolboomSorry for not mentioning. I pushed the array_reverse up out the if. As a DRY (don't repeat yourself)
What is the best way to tell such a change. Just in the patch?
Comment #4
moshe weitzman commentedFolks think this is worthwhile?
Comment #5
clemens.tolboomOn second though this might be worth an --terse option ... if you are interested i will provide a --terse patch
Comment #6
moshe weitzman commentedI'm now not so keen on this. This really helps understand drush_dispatch which a command author does not need to understand. Only developers of drush itself really care about this. My .02 anyway. I'll leave this open for a bit.
Comment #7
clemens.tolboomAre you waiting for a new patch then?
Comment #8
moshe weitzman commented-v option now takes a value of 1 or 2 or 3, etc. higher numbers mean more debug messages.