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.
Add a
--versionapplication option which simply shows the version ofmicrodnf, then exits with status 0.This makes the solution in #135 (comment) work when
microdnfis actually being used, and allows users to verifydnfis working easily in a cross-compatible way.A simple implementation could delegate to
dnf repoquery --installed microdnf.