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