Skip to content

Version short name (-V) does not appear to work #14381

@shaggygi

Description

@shaggygi
  • a detailed description of the bug or problem you are having
    Appears when using version short name (-V) will execute the tests and not show the version (similar to using long name (--version).

  • output of pip list from the virtual environment you are using
    Package Version
    colorama 0.4.6
    iniconfig 2.3.0
    packaging 26.0
    pip 25.3
    pluggy 1.6.0
    Pygments 2.20.0
    pytest 9.0.3

  • pytest and operating system versions
    9.0.3 on Windows 11

  • minimal example if possible

Image

Using long name:
Image

Using short name:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions