From 14a2d41b8086af3481a2195b2ceebbe8a66128ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Davaillaud?= <548656+rdavaillaud@users.noreply.github.com> Date: Tue, 23 May 2023 09:48:14 +0200 Subject: [PATCH] Fix documentation filter command parameter name --- Resources/doc/commands.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Resources/doc/commands.rst b/Resources/doc/commands.rst index 86240189c..bfbe841e3 100644 --- a/Resources/doc/commands.rst +++ b/Resources/doc/commands.rst @@ -12,17 +12,17 @@ All cache for a given paths will be removed: $ php bin/console liip:imagine:cache:remove path1 path -If you use ``--filters`` parameter, all cache for a given filters will be lost: +If you use ``--filter`` parameter, all cache for a given filter will be lost: .. code-block:: bash - $ php bin/console liip:imagine:cache:remove --filters=thumb1 --filters=thumb2 + $ php bin/console liip:imagine:cache:remove --filter=thumb1 --filter=thumb2 You can combine these parameters: .. code-block:: bash - $ php bin/console liip:imagine:cache:remove path1 path2 --filters=thumb1 --filters=thumb2 + $ php bin/console liip:imagine:cache:remove path1 path2 --filter=thumb1 --filter=thumb2 Cache for all paths and filters will be lost when executing this command without parameters: @@ -42,7 +42,7 @@ Warm up Cache .. code-block:: bash - $ php bin/console liip:imagine:cache:resolve path1 path2 --filters=thumb1 + $ php bin/console liip:imagine:cache:resolve path1 path2 --filter=thumb1 The cache for those two paths will be warmed up for the specified filter set. As a result you will get: @@ -56,7 +56,7 @@ You can specify which filter sets to warm up: .. code-block:: bash - $ php bin/console liip:imagine:cache:resolve path1 --filters=thumb1 --filters=thumb2 + $ php bin/console liip:imagine:cache:resolve path1 --filter=thumb1 --filter=thumb2 As a result you will get: @@ -65,7 +65,7 @@ As a result you will get: http://localhost/media/cache/thumb1/path1 http://localhost/media/cache/thumb2/path1 -If you omit ``--filters``, the image will be warmed up for all available filters: +If you omit ``--filter``, the image will be warmed up for all available filters: .. code-block:: bash