Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --version #272

Closed
jayvdb opened this issue Sep 9, 2024 · 3 comments
Closed

Add --version #272

jayvdb opened this issue Sep 9, 2024 · 3 comments

Comments

@jayvdb
Copy link

jayvdb commented Sep 9, 2024

Most commands provide a --version.
Any chance cargo-zigbuild would be interested in doing that?

@messense
Copy link
Member

Already supported.

$ cargo-zigbuild --version
cargo-zigbuild 0.19.1

@jayvdb
Copy link
Author

jayvdb commented Sep 10, 2024

Ah, it is cargo zigbuild --version which doesnt work, but cargo-zigbuild --version is good enough for me.

@messense
Copy link
Member

It's just how cargo external subcommand works, cargo zigbuild is actually calling cargo-zigbuild zigbuild, adding a --version to that command doesn't feel right, like you won't expect a --version option in cargo build command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants