Closed (fixed)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Core Commands
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2013 at 17:16 UTC
Updated:
11 Apr 2013 at 21:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
greg.1.anderson commentedEh, I guess this is more of a feature request.
Comment #2
greg.1.anderson commentedHere's a simple adjustment to improve the error message when there is no bootstrapped site.
Comment #3
moshe weitzman commentedA better error message is good. So does the new code give a sensible error message when the user mistypes 'drush cc druAsh` in his homedir?. That should not start giving any advice about Drupal.
Comment #4
greg.1.anderson commentedIt says this:
There's no good way to tell the difference between a typo and a type that might be available via a hook, so the message says that there "may be more" cache types. If you prefer, the message above could be removed, and left in its current short form unless a user exactly types a cache type that is known to be available when a Drupal site is bootstrapped.
Comment #5
moshe weitzman commentedThat error looks perfect. thanks.
Comment #6
greg.1.anderson commentedCommitted to 8.x-6.x and 7.x-5.x.