Release a new version and support -v option?
MIvanchev opened this issue · comments
Mihail Ivanchev commented
I just noticed 1.4 is from 2019 and a lot of features have been implemented since then. Maybe release 1.5 soon? :) Would be also cool if there was a -v option to print out the version and exit immediately. I could provide a MR for this.
Antoni Sawicki commented
Yeah I should do it...
Antoni Sawicki commented
ok please send a pr/mr for -v
and then I'll release
Mihail Ivanchev commented
MR also adds -h parameter and changes exit code to 1 for the error case (unrecognized option). This is consistent with other *nix tools. -h has priority over -v. An initial loop checks for -h, -v or unrecognized option to avoid setting up stuff if there's no need.