Add info to docs page for new CLI flag: --config-file

Signed-off-by: Chris Mahoney <chrismahoey@hotmail.com>
This commit is contained in:
Chris Mahoney 2023-05-25 09:48:06 +10:00
parent 3344c8fbbe
commit 05ba170fe4
1 changed files with 2 additions and 1 deletions

View File

@ -1918,7 +1918,8 @@ All the command-line flags can be obtained by running ``pytest --help``::
--strict-markers Markers not registered in the `markers` section of --strict-markers Markers not registered in the `markers` section of
the configuration file raise errors the configuration file raise errors
--strict (Deprecated) alias to --strict-markers --strict (Deprecated) alias to --strict-markers
-c file Load configuration from `file` instead of trying to -c, --config-file FILE
Load configuration from `FILE` instead of trying to
locate one of the implicit configuration files locate one of the implicit configuration files
--continue-on-collection-errors --continue-on-collection-errors
Force test execution even if collection errors occur Force test execution even if collection errors occur