GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Missing docs for CLI usage · Issue #4492 · pytest-dev/pytest

Missing docs for CLI usage #4492

New issue
Copy link
New issue
Copy link
Closed
Closed
Missing docs for CLI usage#4492
Copy link
Labels
type: docsdocumentation improvement, missing or needing clarification

Description

@jxltom
jxltom
opened on Dec 2, 2018
Issue body actions

It looks like I can only access the CLI usage such as options and argument via pytest --help. It will be nice to add this part to docs, so users can read it as a reference online without invoking pytest.

  • Include a detailed description of the bug or suggestion
  • pip list of the virtual environment you are using
  • pytest and operating system versions
  • Minimal example if possible

Activity

  1. Zac-HD
    added
    type: questiongeneral question, might be closed after 2 weeks of inactivity
    type: docsdocumentation improvement, missing or needing clarification
    on Dec 5, 2018
  2. Zac-HD commented on Dec 5, 2018

    @Zac-HD
    Zac-HD
    on Dec 5, 2018
    Member
    More actions

    What specifically do you want added to the usage page?

  3. jxltom commented on Dec 5, 2018

    @jxltom
    jxltom
    on Dec 5, 2018
    Author
    More actions

    It will be nice to add a full pytest CLI reference, which is a online version of pytest --help

    It can be generated simply by https://github.com/click-contrib/sphinx-click.

    I can try to made a PR for that, if this is reasonable.

  4. Zac-HD
    removed
    type: questiongeneral question, might be closed after 2 weeks of inactivity
    on Dec 5, 2018
  5. RonnyPfannschmidt commented on Dec 5, 2018

    @RonnyPfannschmidt
    RonnyPfannschmidt
    on Dec 5, 2018
    Member
    More actions

    @jxltom pytest does not use click however

  6. jxltom commented on Dec 5, 2018

    @jxltom
    jxltom
    on Dec 5, 2018
    Author
    More actions

    Oh, thanks for the kind reminder.

    It looks like pytest using argparse? There is also a https://sphinx-argparse.readthedocs.io/en/stable/ for that. But I have never used that before. Let's give it a try...

    Reacted by Daniel Hahler
  7. blueyed commented on Mar 1, 2020

    @blueyed
    blueyed
    on Mar 1, 2020
    Contributor
    More actions

    @jxltom any luck with that?
    I guess it is difficult given how pytest generates the parser etc.

    I guess the best would be to just have the output from --help verbatim, no? Or do you expect it to be clickable / linked to more docs?
    (with regard to that I think the help should be verbose enough to not require additional docs, especially since there is no man page)

    I've played a bit with https://github.com/invenia/sphinxcontrib-runcmd (and extended it already), which would allow to get pytest --helps output into a separate page, which could be linked to then.

  8. FazeelUsmani
    added 3 commits that reference this issue on Nov 11, 2025

    Add online CLI options reference – fixes pytest-dev#4492

    This issue will close once commit 1f60a93 is merged into the 'main' branch.
    1f60a93

    Add online CLI options reference – fixes pytest-dev#4492

    This issue will close once commit aeb1584 is merged into the 'main' branch.
    aeb1584

    Add online CLI options reference – fixes pytest-dev#4492

    This issue will close once commit aa7d54b is merged into the 'main' branch.
    aa7d54b
  9. bluetech
    added a commit that references this issue on Nov 25, 2025

    Add online CLI options reference – fixes pytest-dev#4492

    This issue will close once commit e9afd04 is merged into the 'main' branch.
    e9afd04
  10. bluetech
    closed this as completedon Nov 26, 2025
  11. 736-c41-2c1-e464fc974
    added 2 commits that reference this issue on Feb 4, 2026

    chore(deps): update pytest (major)

    01f4e67

    Merge branch 'renovate/pytest-9.x' into 'main'

    d08c4bc
  12. MateoGreil
    added a commit that references this issue on Jul 4, 2026

    🔒️ Update dependency pytest to v9 [SECURITY] (#16)

    d97ea28
  13. luketainton
    added a commit that references this issue on Jul 19, 2026

    [SECURITY] Update dependency pytest to v9 [SECURITY] (#2)

    fca183b
  14. Djeex
    added a commit that references this issue on Aug 31, 2026

    Update dependency pytest to v9 (#35)

    f96ce2f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.