Replace --traceconfig with --trace-config in doc

Since 'py.test --help' shows --trace-config as an option (and not
--traceconfig) even though both forms are accepted I assume --trace-config is
the preferred form and should therefore be used in the documentation.
This commit is contained in:
Omar Kohl 2016-03-20 17:12:50 +01:00
parent ec62a3c9e4
commit 16e49d96d1
4 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ Finding out which plugins are active
If you want to find out which plugins are active in your If you want to find out which plugins are active in your
environment you can type:: environment you can type::
py.test --traceconfig py.test --trace-config
and will get an extended test header which shows activated plugins and will get an extended test header which shows activated plugins
and their names. It will also print local plugins aka and their names. It will also print local plugins aka

View File

@ -21,7 +21,7 @@ but note that project specific settings will be considered
first. There is a flag that helps you debugging your first. There is a flag that helps you debugging your
conftest.py configurations:: conftest.py configurations::
py.test --traceconfig py.test --trace-config
customizing the collecting and running process customizing the collecting and running process

View File

@ -16,7 +16,7 @@ command line options
display py lib version and import information. display py lib version and import information.
``-p name`` ``-p name``
early-load given plugin (multi-allowed). early-load given plugin (multi-allowed).
``--traceconfig`` ``--trace-config``
trace considerations of conftest.py files. trace considerations of conftest.py files.
``--nomagic`` ``--nomagic``
don't reinterpret asserts, no traceback cutting. don't reinterpret asserts, no traceback cutting.

View File

@ -194,7 +194,7 @@ the plugin manager like this:
plugin = config.pluginmanager.getplugin("name_of_plugin") plugin = config.pluginmanager.getplugin("name_of_plugin")
If you want to look at the names of existing plugins, use If you want to look at the names of existing plugins, use
the ``--traceconfig`` option. the ``--trace-config`` option.
Testing plugins Testing plugins
--------------- ---------------