Skip to content

document strict-config and other command line flags #7728

@graingert

Description

@graingert

I was recently asked to explain why I was adding --strict-config to a pytest ini, "as it appears to be undocumented"

currently command line flags are only documented in the changelog and https://docs.pytest.org/en/stable/_modules/_pytest/main.html

I think we should automatically add the output of pytest --help to the docs, eg here:
https://docs.pytest.org/en/stable/usage.html#getting-help-on-version-option-names-environment-variables

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docsdocumentation improvement, missing or needing clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions