I'm using the latest Drush and I'm getting some weird errors on a D6 site. Everything else with Drush seems to work ok, but when I try a simple command to get a module with one function I get this:

$ drush mb mymodule init --noi --write
Unknown options: --noi, --write.  See `drush help mb-build` for available       [error]
options. To suppress this error, add the option --strict=0.

Not sure where to begin debugging as Drush is functional and I'm able to use this module in the 7.x series without issue. Yes, I ran with strict=0 and same result.

Comments

Anonymous’s picture

Status: Active » Needs review

Solution: roll back to Drush 7.x-4.6 from 7.x-5.6.

joachim’s picture

Status: Needs review » Postponed (maintainer needs more info)

I just did a git pull on my drush, which put it on master branch several commits ahead of 5.6

and then this:

$ drush mb foo init --write

which worked as expected.

I tried checking out 5.6 specifically and that worked too.

manu manu’s picture

FYI, It just happenend to me with Drush 5.4 and 5.7 with MB 7.x-2.x-dev (Information added by drupal.org packaging script on 2011-07-07)

$ drush mb uufp block --build="all" --go --name="Uufp Front" --package="MyPackage"
Unknown options: --build, --go, --name, --package.  See `drush help mb-build` for available options. To suppress this error, add the option --strict=0.

Updated MB to latest 7.x-2.x-dev (2012-07-29) and it worked.

joachim’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Sorry, I'm no longer maintaining the 6.x branch. If you can provide a patch though, I'll commit it.