mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-12 21:31:35 +00:00
[Request] Add --version and --help to MPF.CLI and MPF.Check #852
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 --versionbut not the same with MPF.Describe the solution you'd like
MPF.Check --versionandMPF.CLI --versionto 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 ifMPF.Check --helpandMPF.CLI --helpworked 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.
@JohnVeness commented on GitHub (Dec 2, 2025):
Has this regressed?
MPF.Check --versiondoesn't seem to work in 3.6.0.@mnadareski commented on GitHub (Dec 2, 2025):
No regression, just a simplification of "top level" stuff like that. It's just
versionnow. If you run the program without inputs, it should show up.@JohnVeness commented on GitHub (Dec 3, 2025):
Hmm,
MPF.Check versionstill gives meInvalid number of argumentsfollowed by the usage text.@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 versionand./MPF.CLI versionrespectively and they both had the desired output.@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 :)