Skip to content

Add '--version' option #148

@EpicWink

Description

@EpicWink

Add a --version application option which simply shows the version of microdnf, then exits with status 0.

This makes the solution in #135 (comment) work when microdnf is actually being used, and allows users to verify dnf is working easily in a cross-compatible way.

A simple implementation could delegate to dnf repoquery --installed microdnf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TriagedSomeone on the DNF 5 team has read the issue and determined the next steps to take

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions