diff --git a/doc/03-cli.md b/doc/03-cli.md index d73f5a81e..eccafbcc0 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -706,7 +706,7 @@ performance. * **--apcu:** Use APCu to cache found/not-found classes. * **--no-dev:** Disables autoload-dev rules. -## clear-cache (clearcache) +## clear-cache / clearcache / cc Deletes all content from Composer's cache directories. diff --git a/src/Composer/Command/ClearCacheCommand.php b/src/Composer/Command/ClearCacheCommand.php index 08ec04701..80e63d8ec 100644 --- a/src/Composer/Command/ClearCacheCommand.php +++ b/src/Composer/Command/ClearCacheCommand.php @@ -26,7 +26,7 @@ class ClearCacheCommand extends BaseCommand { $this ->setName('clear-cache') - ->setAliases(array('clearcache')) + ->setAliases(array('clearcache', 'cc')) ->setDescription('Clears composer\'s internal package cache.') ->setHelp( <<