Closed (fixed)
Project:
Drush
Version:
7.x-5.1
Component:
Core Commands
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 May 2012 at 22:37 UTC
Updated:
2 Jun 2012 at 19:21 UTC
I just upgraded from 4.5 to 5.1 and and now drush can not find any of it's own internal commands. I get the following error:
Unknown option: --package-handler. See `drush help core-status` for available options. To suppress this error, add the option --strict=0.
when I add the --strict=0 at the end of a command - it works. Any thoughts as to what is wrong with the upgrade?
Comments
Comment #1
jonhattanNo idea. How did you upgrade? What's the output of
drush status?Comment #2
austin_drupal commentedI used
drush self-updateand the results of drush status is
Comment #3
jonhattanIt seems to me you have package-handler option defined in an alias file. In drush 5 it must be defined as command-specific options. See examples/example.aliases.drushrc.php (same for a config file).
Comment #4
jonhattanComment #5
moshe weitzman commented