Add version to release zip file name
Closed this issue · 7 comments
francisdb commented
Currently the version is not part of the file name
EarBiteR commented
It would also be nice if vpxtool showed its version number when being run so you would know without having to do a -V
francisdb commented
Would then have to be on std error as some commands might have their output piped to file or other cli tools?
EarBiteR commented
I pulled down the source zip and searched for whats shown when running
vpxtool without parms and couldnt find a match for whats returned.
Whatever is generating the output that shows what commands to use back to
stdout is where I thought it would be good to show the version number. This
wouldnt affect anything else I would think. Something like below. Just a
suggestion. If not something that you care about then please disregard and
sorry to waste your time.
Ryzen7-3700X:~$ vpxtool
Extracts and assembles vpx files - v0.9.5
Usage: vpxtool [COMMAND]
Commands:
info Show information about a vpx file
…On Tue, Feb 20, 2024 at 12:18 PM Francis De Brabandere < ***@***.***> wrote:
Would then have to be on std error as some commands might have their
output piped to file or other cli tools?
—
Reply to this email directly, view it on GitHub
<#233 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF7VUREHFC6N7CFADC7MFD3YUTZJBAVCNFSM6AAAAABC7O4MBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJUHEYDAMRVGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
francisdb commented
Aha, you mean being run without params.
That should be possible.
https://epage.github.io/blog/2022/09/clap4/#polishing-help-output
francisdb commented
Keeping this open for the second request
francisdb commented
Now prints
> vpxtool
Vpxtool v0.9.8
Extracts and assembles vpx files
Usage: vpxtool [COMMAND]
Commands:
info Show information about a vpx file
...
EarBiteR commented
Very nice! Thanks.
…On Thu, Feb 22, 2024 at 9:47 AM Francis De Brabandere < ***@***.***> wrote:
Now prints
> vpxtool
Vpxtool v0.9.8
Extracts and assembles vpx files
Usage: vpxtool [COMMAND]
Commands:
info Show information about a vpx file
...
—
Reply to this email directly, view it on GitHub
<#233 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF7VURA5OWNLSGDEQRVUODTYU5ZDXAVCNFSM6AAAAABC7O4MBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZHA2TAOBYGY>
.
You are receiving this because you commented.Message ID:
***@***.***>