From 37d836d754eb8e20540ff1a16da76edee9a7adda Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 1 Feb 2018 19:34:15 -0200 Subject: [PATCH] Reword docs slightly --- doc/en/customize.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/en/customize.rst b/doc/en/customize.rst index 7aa1641fa..f819c5974 100644 --- a/doc/en/customize.rst +++ b/doc/en/customize.rst @@ -38,8 +38,9 @@ Here's a summary what ``pytest`` uses ``rootdir`` for: Important to emphasize that ``rootdir`` is **NOT** used to modify ``sys.path``/``PYTHONPATH`` or influence how modules are imported. See :ref:`pythonpath` for more details. -``--rootdir=path`` command line option sets a ``rootdir`` directory. Directory may be relative or absolute path. -Additionally path may contain environment variables, that will be expanded. +``--rootdir=path`` command-line option can be used to force a specific directory. +The directory passed may contain environment variables when it is used in conjunction +with ``addopts`` in a ``pytest.ini`` file. Finding the ``rootdir`` ~~~~~~~~~~~~~~~~~~~~~~~