[Request] Add --version and --help to MPF.CLI and MPF.Check #852

Closed
opened 2026-01-29 16:23:21 +00:00 by claunia · 5 comments
Owner

Originally created by @JohnVeness on GitHub (Jul 12, 2025).

Originally assigned to: @mnadareski on GitHub.

Is your feature request related to a problem? Please describe.
I have several computers with different optical drives and often lose track of which ones have up-to-date software on them. I can do redumper --version but not the same with MPF.

Describe the solution you'd like
MPF.Check --version and MPF.CLI --version to output their current version numbers then quit.

Also, while I'm here, I know that MPF.Check -h, MPF.Check -?, MPF.CLI -h, MPF.CLI -? exist, but it would be good if MPF.Check --help and MPF.CLI --help worked too, due to muscle memory from other software. Of course, they sort of do work as the command isn't recognised and so the usage text is shown, but I mean without showing "Invalid number of arguments" first!

Describe alternatives you've considered
For the lack of --version, I don't have an easy workaround. I could just download the latest version each session, but that's a bit tedious.

Obviously --help already has alternatives, so that part is just a "would be nice" feature request.

Originally created by @JohnVeness on GitHub (Jul 12, 2025). Originally assigned to: @mnadareski on GitHub. **Is your feature request related to a problem? Please describe.** I have several computers with different optical drives and often lose track of which ones have up-to-date software on them. I can do `redumper --version` but not the same with MPF. **Describe the solution you'd like** `MPF.Check --version` and `MPF.CLI --version` to output their current version numbers then quit. Also, while I'm here, I know that `MPF.Check -h`, `MPF.Check -?`, `MPF.CLI -h`, `MPF.CLI -?` exist, but it would be good if `MPF.Check --help` and `MPF.CLI --help` worked too, due to muscle memory from other software. Of course, they sort of do work as the command isn't recognised and so the usage text is shown, but I mean without showing "Invalid number of arguments" first! **Describe alternatives you've considered** For the lack of --version, I don't have an easy workaround. I could just download the latest version each session, but that's a bit tedious. Obviously --help already has alternatives, so that part is just a "would be nice" feature request.
claunia added the enhancement label 2026-01-29 16:23:21 +00:00
Author
Owner

@JohnVeness commented on GitHub (Dec 2, 2025):

Has this regressed? MPF.Check --version doesn't seem to work in 3.6.0.

@JohnVeness commented on GitHub (Dec 2, 2025): Has this regressed? `MPF.Check --version` doesn't seem to work in 3.6.0.
Author
Owner

@mnadareski commented on GitHub (Dec 2, 2025):

No regression, just a simplification of "top level" stuff like that. It's just version now. If you run the program without inputs, it should show up.

@mnadareski commented on GitHub (Dec 2, 2025): No regression, just a simplification of "top level" stuff like that. It's just `version` now. If you run the program without inputs, it should show up.
Author
Owner

@JohnVeness commented on GitHub (Dec 3, 2025):

Hmm, MPF.Check version still gives me Invalid number of arguments followed by the usage text.

@JohnVeness commented on GitHub (Dec 3, 2025): Hmm, `MPF.Check version` still gives me `Invalid number of arguments` followed by the usage text.
Author
Owner

@mnadareski commented on GitHub (Dec 3, 2025):

I don't know what to tell you, I ran both Check and CLI locally with ./MPF.Check version and ./MPF.CLI version respectively and they both had the desired output.

@mnadareski commented on GitHub (Dec 3, 2025): I don't know what to tell you, I ran both Check and CLI locally with `./MPF.Check version` and `./MPF.CLI version` respectively and they both had the desired output.
Author
Owner

@JohnVeness commented on GitHub (Dec 3, 2025):

Oh sorry, I don't know how I managed this, but I wasn't running the correct version, ironically! It works fine, thanks :)

@JohnVeness commented on GitHub (Dec 3, 2025): Oh sorry, I don't know how I managed this, but I wasn't running the correct version, ironically! It works fine, thanks :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#852