Hi,

I wanted to analyze .info files of a module so I ran the command (example below) specifying the --extension option.

drush dcs ctools --extensions=info

The test passed but it wasn't possible because this file contained mistakes. In this case the .info files has some unnecessary file declarations

I had a look at the code and the problem come from the implode function that is always executed on the $extensions variable.

Comments

JulienD’s picture

Status: Active » Needs review
StatusFileSize
new1.69 KB

I created a patch to repair the --extension option and I've also removed two spaces in the command description.

This patch is part of the #1day1patch initiative.

klausi’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Updated issue summary.