Skip to content

Commit f505c64

Browse files
committed
feature #18595 [Cache] Document cache:pool:clear’s new --exclude option (MatTheCat)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Cache] Document `cache:pool:clear`’s new `--exclude` option Feature PR * symfony/symfony#51058 Commits ------- cc7ac50 [Cache] Document `cache:pool:clear`’s new `--exclude` option
2 parents bed77a4 + cc7ac50 commit f505c64

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: cache.rst

+10
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,16 @@ Clear all cache pools:
749749

750750
The ``--all`` option was introduced in Symfony 6.3.
751751

752+
Clear all cache pools except some:
753+
754+
.. code-block:: terminal
755+
756+
$ php bin/console cache:pool:clear --all --exclude=my_cache_pool --exclude=another_cache_pool
757+
758+
.. versionadded:: 6.4
759+
760+
The ``--exclude`` option was introduced in Symfony 6.4.
761+
752762
Clear all caches everywhere:
753763

754764
.. code-block:: terminal

0 commit comments

Comments
 (0)