Closed (fixed)
Project:
Auto Admin
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2010 at 00:18 UTC
Updated:
4 Aug 2010 at 08:57 UTC
Jump to comment: Most recent file
when doing:
drush autoadmin generate
--write
this message will appear:
// DEPRECATED: Allow command names to contain spaces.
// This feature will be removed shortly; drush-3 will
// require commands to be named with dashes instead of
// spaces (e.g. “cache-clear” instead of “cache clear”).
// During the transition period, uncomment the line below
// to allow commands with spaces to be used.
it was necessary to enable spaces in commands for a while by setting "allow-spaces-in-commands" in my drush configuration file.
best regards.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | dashes-on-command-names.patch | 2.64 KB | fcedillo |
| #3 | dashes-on-command-names.patch | 2.64 KB | fcedillo |
Comments
Comment #1
develcuy commentedConfirmed, got same issue.
Comment #2
fcedillo commentedignore this comment and attachment
Comment #3
fcedillo commentedI think the solution is to work on /modules/autoadmin/drush/autoadmin.drush.inc file
On line 41, I replace the following:
$items['autoadmin generate'] = array(with:
$items['autoadmin-generate'] = array(And results of drush autoadmin-generate bands bands countries --write command were as expected.
Below this comment you can find the patch to transform the autoadmin commands names to commands named with dashes.
Comment #4
_rune commentedHi
Thx for the patch! Am on windsurfing class in Croatia a.t.m. and did only bring my phone. Sorry for being so slow with fixing this little issue! Back in a week.
Cheers
Rune
Comment #5
_rune commentedThx a lot, have applied the patch to my checkout, will commit a new version of Auto Admin later today and update the docs accordingly. Sorry for slowness!
If you want CVS access, let me now!
Cheers
Rune
Comment #6
fcedillo commentedhi _rune, let me help applying the patches. i would like CVS access for committing changes on patches :)
Comment #7
_rune commentedThats super! Granting you access now.