The output of drush's help command mentions a -c/--config option that allows you to pass in the name of a configuration file to drush. However, it seems that either the -c is broken or I'm not using it right. I'll assume the latter.

So, I've created a drush config file called simply "demo" in the root of my drupal directory. I can't pass it to drush with any of the following lines:

drush -c demo help
drush -c "demo" help
drush -cdemo help

This, however, works:

drush --config=demo help

I will commit what a learn here to the README file. Thanks.

CommentFileSizeAuthor
#2 add_c_opt.patch657 bytesSteve Dondley

Comments

Steve Dondley’s picture

Category: support » bug

As far as I can tell, this is a bug. Line 71 has

$args = drush_parse_args($argv, array('h', 'u', 'r', 'l'));

Seems there should be a 'c' option.

Steve Dondley’s picture

Status: Active » Needs review
StatusFileSize
new657 bytes
moshe weitzman’s picture

Status: Needs review » Fixed

Comitted. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.