diff --git a/doc/en/cache.rst b/doc/en/cache.rst index 57a091116..184c0607c 100644 --- a/doc/en/cache.rst +++ b/doc/en/cache.rst @@ -162,8 +162,8 @@ When no tests failed in the last run, or when no cached ``lastfailed`` data was found, ``pytest`` can be configured either to run all of the tests or no tests, using the ``--last-failed-no-failures`` option, which takes one of the following values:: - pytest --last-failed-no-failures all # run all tests (default behavior) - pytest --last-failed-no-failures none # run no tests and exit + pytest --last-failed --last-failed-no-failures all # run all tests (default behavior) + pytest --last-failed --last-failed-no-failures none # run no tests and exit The new config.cache object --------------------------------