I am getting the following error when I try to run any command in drush.

Error in argument 1, char 2: option not found r /home6/whereisa/.composer/vendor/bin/drush: line 124: [: too many arguments

This started happening after i upgraded to the latest drush (7.x.dev). all 6.x versions of drush work fine I am running php 5.4 on bluehost shared web hosting.

Please advise

Regards, Ash

  • 1
    Can you provide an example of a command that gives you this error – Parag Sep 6 '14 at 21:12
  • @Sisyphus , drush cc all is an example of a command that will throw this error. the command still executes with a successful outcome, but the error shows first. Every command I run gives me this error. – Ashtronaut Sep 8 '14 at 12:28
  • Did you try including an alias ? – Parag Sep 9 '14 at 2:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.