Unable to display Drush cache-clear theme registry I was using drush to do some of the most frequently used Drupal tasks, mainly to cache clear. It was working great, but recently I'm getting only the following option:

Enter a number to choose which cache to clear.
 [0]  :  Cancel   
 [1]  :  drush    
 [2]  :  registry


It was supposed to be:

 [0]   :  Cancel         
 [1]   :  all            
 [2]   :  drush          
 [3]   :  theme-registry 
 [4]   :  menu           
 [5]   :  css-js         
 [6]   :  block          
 [7]   :  module-list    
 [8]   :  theme-list     
 [9]   :  nodeaccess     
 [10]  :  registry       
 [11]  :  token          
 [12]  :  views


There is no way to clear css/js or theme registry. Whats the problem? Is it with Drush or Machine settings. Any advise highly appretiated.
The Drush code looks like this:

  $types = drush_cache_clear_types(drush_has_boostrapped(DRUSH_BOOTSTRAP_DRUPAL_FULL));


If the parameter to drush_cache_clear_types is TRUE, then the missing cache types shown above are included in your selection list.  Your Drupal site is not bootstrapping all the way up to the 'FULL' level, which means there's probably something wrong with the Drupal site.  Try running drush status --debug, and see if you can determine from the log messages why the bootstrap is stopping.

Update: See MPD's comment below. I thought the exact same thing as I was driving in to work this morning: this situation can also arise if you have told Drush where your Drupal root is, but have not specified your sites folder.  The Drupal root is specified via --root, or by using cd to switch to a directory anywhere in your Drupal installation.  The specific site is selected via --uri, or by using cd to switch to the same directory that contains settings.php.  If you cd to the folder that contains settings.php and run drush cc all, that might fix your problem.