From 05ba170fe4f6c8fc9ff1c922e3041ce2c5b0462b Mon Sep 17 00:00:00 2001 From: Chris Mahoney Date: Thu, 25 May 2023 09:48:06 +1000 Subject: [PATCH] Add info to docs page for new CLI flag: --config-file Signed-off-by: Chris Mahoney --- doc/en/reference/reference.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/en/reference/reference.rst b/doc/en/reference/reference.rst index 6a5512cc1..7107218b3 100644 --- a/doc/en/reference/reference.rst +++ b/doc/en/reference/reference.rst @@ -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 the configuration file raise errors --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 --continue-on-collection-errors Force test execution even if collection errors occur