diff --git a/doc/en/plugins.rst b/doc/en/plugins.rst index e9b3f460c..3db7f0f59 100644 --- a/doc/en/plugins.rst +++ b/doc/en/plugins.rst @@ -90,7 +90,7 @@ Finding out which plugins are active If you want to find out which plugins are active in your environment you can type:: - py.test --traceconfig + py.test --trace-config and will get an extended test header which shows activated plugins and their names. It will also print local plugins aka diff --git a/doc/en/test/attic.rst b/doc/en/test/attic.rst index 6408c7225..2ab9c237a 100644 --- a/doc/en/test/attic.rst +++ b/doc/en/test/attic.rst @@ -21,7 +21,7 @@ but note that project specific settings will be considered first. There is a flag that helps you debugging your conftest.py configurations:: - py.test --traceconfig + py.test --trace-config customizing the collecting and running process diff --git a/doc/en/test/plugin/helpconfig.rst b/doc/en/test/plugin/helpconfig.rst index 9b5b8cddd..00399b690 100644 --- a/doc/en/test/plugin/helpconfig.rst +++ b/doc/en/test/plugin/helpconfig.rst @@ -16,7 +16,7 @@ command line options display py lib version and import information. ``-p name`` early-load given plugin (multi-allowed). -``--traceconfig`` +``--trace-config`` trace considerations of conftest.py files. ``--nomagic`` don't reinterpret asserts, no traceback cutting. diff --git a/doc/en/writing_plugins.rst b/doc/en/writing_plugins.rst index 228c85132..41fd0335e 100644 --- a/doc/en/writing_plugins.rst +++ b/doc/en/writing_plugins.rst @@ -194,7 +194,7 @@ the plugin manager like this: plugin = config.pluginmanager.getplugin("name_of_plugin") If you want to look at the names of existing plugins, use -the ``--traceconfig`` option. +the ``--trace-config`` option. Testing plugins ---------------